-
Notifications
You must be signed in to change notification settings - Fork 140
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
Feature Request: Support Text IO #52
Comments
For clarity, particularly for anyone looking to use |
Certainly, seem easy enough to implement should |
* First stab at using google.auth Use new purpose-built package to generate sessions and handle refresh, simplifying our code. * Don't error if a connection method fails * Re-enable token= access. * Enable auth with Credentials * Fixes Plus text mode (see #52) * Fix tests (only three failures left) * rerecord tests * Better token hiding * update dependencies for travis * utf8 for py2 in test_core; drop py 3.4 on travis (google requirememnts are not built for py3.4)
It would be valuable to support the standard Text I/O interface in gcsfs for use as a standalone, file-like library. The current behavior requires binary IO, which is not directly compatible with some standard tools (eg.
json
).For example:
raises
NotImplementedError
.While it's possible to workaround via
io.TextIOWrapper
, it would be best to expose aGCSFile
in text-mode in order to provide support for gcsfs-specific api extensions on the file object.The text was updated successfully, but these errors were encountered: