Skip to content

Commit

Permalink
[fix] Bad typing for S3ArtifactStorage_clientconfig args (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatchelder authored Jan 15, 2025
1 parent e5e036d commit 3cfb5a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aim/storage/artifacts/s3_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

0 comments on commit 3cfb5a6

Please sign in to comment.