You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
pip version: pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
google-cloud-storage version: 1.35.1
Steps to reproduce
Create a blob.
Set custom_time.
Upload the blob .
Try to retrieve blob's custom_time.
Expected result is a datatime, but the actual result is None.
If blob's custom_time is set before uploading, it is just lost. My understanding is that the metadata could be uploaded with the object's content at the same time without needing to patch it afterwards.
Environment details
google-cloud-storageversion: 1.35.1Steps to reproduce
custom_time.custom_time.datatime, but the actual result isNone.If blob's
custom_timeis set before uploading, it is just lost. My understanding is that the metadata could be uploaded with the object's content at the same time without needing to patch it afterwards.https://cloud.google.com/storage/docs/uploading-objects#rest-upload-objects
Code example
Stack trace