shahar1 commented on code in PR #64755:
URL: https://github.com/apache/airflow/pull/64755#discussion_r3108106420
##########
providers/google/src/airflow/providers/google/cloud/transfers/gcs_to_gcs.py:
##########
@@ -199,6 +206,8 @@ def __init__(
source_object_required=False,
exact_match=False,
match_glob: str | None = None,
+ retain_until_time=None,
Review Comment:
Please add a type hint (I'm aware that other properties above don't - we
should fix them as well, but that could be done out of the scope of this PR).
Please note to import datetime as part of if TYPE_CHECKING block (see the
other comment)
##########
providers/google/src/airflow/providers/google/cloud/transfers/gcs_to_gcs.py:
##########
@@ -21,7 +21,7 @@
import warnings
from collections.abc import Sequence
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Any
Review Comment:
Please import ANY as part of type checking:
```python
if TYPE_CHECKING:
from typing import Any
```
--
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]