support for an tf.io.gfile.GFile like API #354
Labels
api: storage
Issues related to the googleapis/python-storage API.
status: duplicate
Duplicate.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
It would be nice to support a tf.io.gfile.GFile like API because it can be used as a drop-in replacement for the normal pythonic
open()
API to transparently handle both local and Google Cloud Storage files (i.e. by using thegs://
schema).Is your feature request related to a problem? Please describe.
Well it is much more convinient to use a familiar API like:
then considering anything like:
Describe the solution you'd like
The way acess to GCS buckets is handled in TF (i.e.
tf.io.gfile.GFile
) is just perfect, however if I only need GCS file access, I may not want to install all of tensorflow.Describe alternatives you've considered
As an alternative one could try splitting
tf.io.gfile.GFile
into a standalone pip package.I'm not sure if this is the right place for a feature request like that, but it would be nice if there is a some pyton ideomatic
open()
like API. And if it were there, I guess, it would be used 90% of the time.The text was updated successfully, but these errors were encountered: