[#196] Removed profile name from Boto3 client
This commit is contained in:
parent
9c508c4f66
commit
11487e983d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
|
||||||
self, access_key_id: str, secret_access_key: str, s3gate_endpoint: str, profile: str = "default"
|
self, access_key_id: str, secret_access_key: str, s3gate_endpoint: str, profile: str = "default"
|
||||||
) -> None:
|
) -> None:
|
||||||
self.boto3_client: S3Client = None
|
self.boto3_client: S3Client = None
|
||||||
self.session = boto3.Session(profile_name=profile)
|
self.session = boto3.Session()
|
||||||
self.config = Config(
|
self.config = Config(
|
||||||
retries={
|
retries={
|
||||||
"max_attempts": MAX_REQUEST_ATTEMPTS,
|
"max_attempts": MAX_REQUEST_ATTEMPTS,
|
||||||
|
|
Loading…
Reference in a new issue