Skip to content

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