Closed aripollak closed 1 year ago
There are multiple ways to provide auth for fsspec
:
https://github.com/iterative/PyDrive2/blob/main/pydrive2/fs/spec.py#L158-L171
Among other things, you can pass GoogleAuth
instance. which in turn can be instantiated in any supported way, including the `client_config_backend='file'.
Closing this, but let us know if there are more question.
I'd really like to be able to combine the ease of
client_config_backend='file'
with the ease of fsspec/GDriveFileSystem. Currently it looks like the only supported mechanism is to pass the client config directly to theGDriveFileSystem()
constructor. Could this be implemented? Pretty please? :heart_eyes_cat: Maybe it would be more ideal forGDriveFileSystem()
to take an optionalsettings
argument that was passed directly toGoogleAuth
?