openc3/python/openc3/utilities/aws_bucket.py
Function put_object
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_object(self, bucket, key, body, content_type=None, cache_control=None, metadata=None):
Avoid deeply nested control flow statements. Open
Open
if metadata:
item["metadata"] = self.head_object(bucket=bucket, key=aws_item["Key"])
files.append(item)