Open chandrasekharan-zipstack opened 11 months ago
@chandrasekharan-zipstack it might be a bug in the fsspec implementation. It was done to address needs of DVC as product in the first place, and I think is has a lot of edge cases that are not solved to be used in general. I would recommend to use the older API for now.
I would recommend to use the older API for now.
@shcheklein thanks for the information, I did go through the docs a bit but can you elaborate on what you mean be the older API here? Is it related to using the GoogleDrive
object mentioned here?
Also it might be a good idea to mention such limitations/edge cases in the docs
Yes, I meant this for example: https://docs.iterative.ai/PyDrive2/filelist/
Hello, I'm using the latest version of the library
PyDrive2[fsspec]==1.17.0
and I'm trying to authenticate a service account (the SA email is shared with the drive I wish to test and the keys were generated, I doubt if this order matters).I followed the steps provided in the docs for the jsonkey file as a string. Its authenticated without errors however I'm unable to list files from the shared drive
Digging further, I followed steps mentioned in this comment and was able to list files with the
GDrive
object however. In fact I noticed theGDrive
object being created here and the files get listed (while debugging) when I usedCode snippet:
Any ideas on how I can proceed? Thanks in advance! :)