From 4f0264a58b6d29f652e59a7e1be08e7a3ccc2721 Mon Sep 17 00:00:00 2001 From: idocx Date: Mon, 7 Oct 2024 01:39:51 +0000 Subject: [PATCH] deploy: 5b6f178dc1ca7a7b85f3c9fc23b578882db06902 --- .../resource_manager/resource_requester.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_modules/alab_management/resource_manager/resource_requester.html b/_modules/alab_management/resource_manager/resource_requester.html index f228f98..c1a311a 100644 --- a/_modules/alab_management/resource_manager/resource_requester.html +++ b/_modules/alab_management/resource_manager/resource_requester.html @@ -389,13 +389,15 @@

Source code for alab_management.resource_manager.resource_requester

# considering concurrent.futures.TimeoutError and TimeoutError becomes the same # from Python 3.11. We should determine the base class of this exception. -if isinstance(concurrent.futures.TimeoutError, TimeoutError): +if concurrent.futures.TimeoutError is TimeoutError: CombinedTimeoutError = TimeoutError else:
[docs] - class CombinedTimeoutError(TimeoutError, concurrent.futures.TimeoutError): + class CombinedTimeoutError( + TimeoutError, concurrent.futures.TimeoutError + ): # pylint: disable=duplicate-bases """ Combined TimeoutError.