-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
api: storageIssues related to the googleapis/python-storage API.Issues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Bucket class object called following method which raised an errors.
python-storage/docs/snippets.py
Line 194 in 5f27ffa
| bucket.add_lifecycle_rule_delete(age=2) |
python-storage/docs/snippets.py
Line 204 in 5f27ffa
| bucket.add_lifecycle_rule_set_storage_class( |
In bucket class the actual method names are:
python-storage/google/cloud/storage/bucket.py
Line 1938 in 5f27ffa
| def add_lifecycle_delete_rule(self, **kw): |
python-storage/google/cloud/storage/bucket.py
Line 1955 in 5f27ffa
| def add_lifecycle_set_storage_class_rule(self, storage_class, **kw): |
Clean Up:
Remove unused parameter from method definition from snippets.py file.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the googleapis/python-storage API.Issues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.