alexkruc commented on code in PR #25675:
URL: https://github.com/apache/airflow/pull/25675#discussion_r943812666


##########
airflow/providers/google/suite/hooks/drive.py:
##########
@@ -128,31 +128,45 @@ def get_media_request(self, file_id: str) -> HttpRequest:
         request = service.files().get_media(fileId=file_id)
         return request
 
-    def exists(self, folder_id: str, file_name: str, drive_id: Optional[str] = 
None):
+    def exists(
+        self, folder_id: str, file_name: str, include_trashed: bool = True, 
drive_id: Optional[str] = None

Review Comment:
   Just to be sure, I checked the official documentation of typing on 
`Optional[]`
   https://docs.python.org/3/library/typing.html#typing.Optional
   They also state the following
   ```
   An optional argument with a default does not require the Optional qualifier 
....
   ```



-- 
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]

Reply via email to