From 630dd86d57e07fc7894f4c59a075f4d8abaf6e28 Mon Sep 17 00:00:00 2001 From: Sidney Date: Thu, 26 Dec 2024 20:48:16 -0500 Subject: [PATCH] #3275 bad type hints for **kwargs --- aim/storage/artifacts/s3_storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aim/storage/artifacts/s3_storage.py b/aim/storage/artifacts/s3_storage.py index bc24c7372..d30951bb1 100644 --- a/aim/storage/artifacts/s3_storage.py +++ b/aim/storage/artifacts/s3_storage.py @@ -73,7 +73,7 @@ def _get_s3_client(self): return client -def S3ArtifactStorage_factory(**boto3_client_kwargs: dict): +def S3ArtifactStorage_factory(**boto3_client_kwargs): class S3ArtifactStorageCustom(S3ArtifactStorage): def _get_s3_client(self): import boto3 @@ -88,7 +88,7 @@ def _get_s3_client(self): return S3ArtifactStorageCustom -def S3ArtifactStorage_clientconfig(**boto3_client_kwargs: dict): +def S3ArtifactStorage_clientconfig(**boto3_client_kwargs): from aim.storage.artifacts import registry registry.registry['s3'] = S3ArtifactStorage_factory(**boto3_client_kwargs)