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.