[#196] Removed profile name from Boto3 client

This commit is contained in:
Yaroslava Lukoyanova 2024-03-18 20:09:08 +03:00
parent 9c508c4f66
commit 11487e983d

View file

@ -46,7 +46,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
self, access_key_id: str, secret_access_key: str, s3gate_endpoint: str, profile: str = "default"
) -> None:
self.boto3_client: S3Client = None
self.session = boto3.Session(profile_name=profile)
self.session = boto3.Session()
self.config = Config(
retries={
"max_attempts": MAX_REQUEST_ATTEMPTS,