hussein-awala commented on code in PR #29913:
URL: https://github.com/apache/airflow/pull/29913#discussion_r1154923921


##########
airflow/models/baseoperator.py:
##########
@@ -190,42 +191,42 @@ def partial(
     task_id: str,
     dag: DAG | None = None,
     task_group: TaskGroup | None = None,
-    start_date: datetime | None = None,
-    end_date: datetime | None = None,
-    owner: str = DEFAULT_OWNER,
-    email: None | str | Iterable[str] = None,
+    start_date: datetime | None | ArgNotSet = NOTSET,
+    end_date: datetime | None | ArgNotSet = NOTSET,
+    owner: str | None | ArgNotSet = NOTSET,

Review Comment:
   @uranusjr can you check it now?
   
   I used `BaseOperator.__init__` as reference to know if the argument can be 
None or not, and I used `NOTSET` for all the arguments except `dag`, 
`task_group` and `params` which are not overridden by default_partial_kwargs.



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