New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting blob.custom_time doesn't work, returns always None #410
Comments
To me it looks like the fake-gcs-server/fakestorage/object.go Lines 25 to 43 in 297b8cd
https://cloud.google.com/storage/docs/metadata#custom-time |
The original Google Cloud issue about missing |
Thanks for reporting and linking the docs! |
Hello @fsouza is there any chance that this could be assigned to someone and resolved? It looks like that Google resolved issue on their side and I can confirm that it works with "real" API |
I opened #1024 (big round-number!) as a draft, in case someone wants to work on it. It's unlikely I'll be able to pick it back up in the next couple of weeks. |
@fsouza I believe I have a solution that fixes this issue and updates |
@RachitSharma2001 hey, I'm going to look at your PR later today (in 2 hours or so). If you prefer, you can open another PR on top of that one, or we can wait. Apologies for the delayed review. |
I have a piece of code like the following:
If I set
custom_time
before uploading, even the real Google server erases it from the blob. That's why I patch it after the upload. The fake server unfortunately loses it even afterpatch
.results in
None
The text was updated successfully, but these errors were encountered: