OpenC3/cosmos

View on GitHub
openc3/python/openc3/utilities/aws_bucket.py

Summary

Maintainability
A
1 hr
Test Coverage

Function put_object has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def put_object(self, bucket, key, body, content_type=None, cache_control=None, metadata=None):
Severity: Minor
Found in openc3/python/openc3/utilities/aws_bucket.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                if metadata:
                                    item["metadata"] = self.head_object(bucket=bucket, key=aws_item["Key"])
                                files.append(item)
    Severity: Major
    Found in openc3/python/openc3/utilities/aws_bucket.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status