fsouza / fake-gcs-server

Google Cloud Storage emulator & testing library.
https://pkg.go.dev/github.com/fsouza/fake-gcs-server/fakestorage?tab=doc
BSD 2-Clause "Simplified" License
1.03k stars 209 forks source link

Mocking with Tensorflow APIs #471

Open trisongz opened 3 years ago

trisongz commented 3 years ago

Hi, I ran across this project and after looking through the issues, I wasn't able to find any other comments related to this, so I had a few questions.

My particular use case would be to test and see whether specific Tensorflow APIs would detect the endpoint as a GCS object.

If there aren't currently answers to the above, then I'll probably look to figure it out and report back, but if there are, it would be helpful as a starting point. Thanks!

fsouza commented 3 years ago

Hey @trisongz, thanks for opening this issue. Unfortunately I do not know the answer to those questions, but I assume the logging format would not be recognized, since we're having the default log format provided by gorilla/handlers and I imagine Tensorflow would expect some form of structured log.

Feel free to dig into this and let me know if I can help in any way.