Skip to content
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

gdrive fsspec #738

Closed
wants to merge 2 commits into from
Closed

gdrive fsspec #738

wants to merge 2 commits into from

Conversation

sehnem
Copy link

@sehnem sehnem commented Nov 7, 2023

Description

This PR makes some changes to the filesystem module in order to support gdrive.

Additional Context

In gdrive when parsing a directory that is not the user root, eg. a directory that is shared with the user, you need to provide root_file_id, this PR adds support for it without changing GcpCredentials, it also removes the netloc that contains the root_file_id before requesting the data to fsspec.

For fetching a file using file_id the user will need to provide something like: gdrive:///path?RootId=<file_id>
If the user wants to get the root from the user gdrive account the netloc should not be provided: gdrive:///path

depends on the PR

Copy link

netlify bot commented Nov 7, 2023

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 9c10c40
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/654ff0f46c995b0008a8af6d

@sehnem sehnem requested a review from rudolfix November 9, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants