クラス関数の変数変更
This commit is contained in:
parent
de1e82273e
commit
ea5b8a930d
@ -23,7 +23,7 @@ class S3Client:
|
|||||||
return body.decode(S3_CHAR_CODE)
|
return body.decode(S3_CHAR_CODE)
|
||||||
|
|
||||||
def put_object(self, object_key: str, local_file_path: str) -> None:
|
def put_object(self, object_key: str, local_file_path: str) -> None:
|
||||||
self.__s3_client.upload_file(Filename=local_file_path, Bucket=self.__bucket_name, Key=object_key)
|
self.__s3_client.upload_file(Filename=local_file_path, Bucket=self.__s3_bucket, Key=object_key)
|
||||||
return
|
return
|
||||||
|
|
||||||
def copy(self, src_bucket: str, src_key: str, dest_bucket: str, dest_key: str) -> None:
|
def copy(self, src_bucket: str, src_key: str, dest_bucket: str, dest_key: str) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user