Skip to content
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

Get metadata for cloud datafiles accessed via a signed URL #425

Closed
cortadocodes opened this issue Apr 13, 2022 · 4 comments · Fixed by #490
Closed

Get metadata for cloud datafiles accessed via a signed URL #425

cortadocodes opened this issue Apr 13, 2022 · 4 comments · Fixed by #490
Assignees
Labels
bug Unintended behaviour in any area of the app

Comments

@cortadocodes
Copy link
Member

We'll soon release the ability to access cloud datasets via a signed URL. While we can access the dataset metadata via these URLs (because it's kept in a file and not in object metadata), we can't currently access the datafile metadata (which is kept in object metadata).

@cortadocodes cortadocodes added the bug Unintended behaviour in any area of the app label Apr 13, 2022
@cortadocodes cortadocodes self-assigned this Apr 13, 2022
@thclark
Copy link
Contributor

thclark commented Apr 13, 2022

It's just a nightmare. Who'd have thought all this was so hard to work with?!

I don't want to have a central system orchestrating all this signing but I'm really coming close, TBH.

@thclark
Copy link
Contributor

thclark commented Apr 13, 2022

Have you raised an issue on the google python SDK for this?

@thclark
Copy link
Contributor

thclark commented Apr 13, 2022

And have you checked the headers in the response? If you put on debug mode, use requests to fetch the object at the signed URL, then squirrel around in the response object, you might find metadata in the headers??

@cortadocodes cortadocodes added the help wanted Applied by the assigned developer if they need help label May 10, 2022
@cortadocodes cortadocodes linked a pull request Jun 29, 2022 that will close this issue
@cortadocodes
Copy link
Member Author

It turns out we can get metadata for signed URL datafiles. It's just the storage emulator that needs updating. I've raised an issue here.

@cortadocodes cortadocodes removed the help wanted Applied by the assigned developer if they need help label Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unintended behaviour in any area of the app
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants