alexkruc opened a new pull request, #25675: URL: https://github.com/apache/airflow/pull/25675
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 ](https://developers.google.com/drive/api/v3/reference/files/list?apix_params=%7B%22q%22%3A%22name%20%3D%20%27abcd_test%27%20and%20trashed%3Dfalse%22%7D) 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
