Skip to content

Commit

Permalink
fix: Add change in 'Blob.custom_time' to changes
Browse files Browse the repository at this point in the history
This way '_PropertyMixin.patch' will send them to server.
Fixes googleapis#322
  • Loading branch information
haimjether committed Nov 22, 2020
1 parent 547740c commit 5e0af3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -3613,7 +3613,7 @@ def custom_time(self, value):
if value is not None:
value = _datetime_to_rfc3339(value)

self._properties["customTime"] = value
self._patch_property("customTime", value)


def _get_encryption_headers(key, source=False):
Expand Down

0 comments on commit 5e0af3c

Please sign in to comment.