Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 4f1759c

Browse files
committed
fix: Add change in 'Blob.custom_time' to changes
This way '_PropertyMixin.patch' will send them to server. Fixes #322
1 parent 547740c commit 4f1759c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/storage/blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,7 @@ def custom_time(self, value):
36133613
if value is not None:
36143614
value = _datetime_to_rfc3339(value)
36153615

3616-
self._properties["customTime"] = value
3616+
self._patch_property("customTime", value)
36173617

36183618

36193619
def _get_encryption_headers(key, source=False):

0 commit comments

Comments
 (0)