Lee-W commented on code in PR #34545:
URL: https://github.com/apache/airflow/pull/34545#discussion_r1345580520
##########
airflow/providers/google/suite/transfers/gcs_to_gdrive.py:
##########
@@ -95,7 +95,7 @@ def __init__(
source_bucket: str,
source_object: str,
destination_object: str | None = None,
- destination_folder_id: str | None = None,
+ destination_folder_id: str = "root",
Review Comment:
> changed the default value for the attribute
`GCSToGoogleDriveOperator.destination_folder_id` for making it consistent with
`GoogleDriveHook.folder_id = "root"`. Previously the operator was passing the
`None` value to the hook that expects only strings, which caused errors.
I think this is the reason (I also had the question when reviewing this PR)
--
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]