Fix bug which meant object could not be created.

This commit is contained in:
Itamar Turner-Trauring 2023-06-06 11:47:36 -04:00
parent 5af0ead5b9
commit 74a121da74

View File

@ -330,9 +330,9 @@ class StorageClientFactory:
# If set, we're doing unit testing and we should call this with any
# HTTPConnectionPool that gets passed/created to ``create_agent()``.
TEST_MODE_REGISTER_HTTP_POOL = ClassVar[
TEST_MODE_REGISTER_HTTP_POOL: ClassVar[
Optional[Callable[[HTTPConnectionPool], None]]
]
] = None
@classmethod
def start_test_mode(cls, callback: Callable[[HTTPConnectionPool], None]) -> None: