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

Adding a parameter for exclusion of trashed files in GoogleDriveHook #25675

Merged
merged 7 commits into from
Aug 14, 2022

Conversation

alexkruc
Copy link
Contributor

GoogleDriveHook is currently returning all the files with the specified naming, regardless if they are in the "trash folder" or not.
Taking inspiration from the following PR: #24446, I saw that the Google Drive API has a parameter that we can add to the query (trashed=false/true) that specifies whether we want the API to return trashed files or not (default is True -> show trashed files).

This PR is adding this query param to the GoogleDriveHook.

related: #24446

@alexkruc alexkruc requested a review from turbaszek as a code owner August 11, 2022 14:40
@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants