ashb commented on a change in pull request #19965:
URL: https://github.com/apache/airflow/pull/19965#discussion_r778125571
##########
File path: airflow/decorators/base.py
##########
@@ -275,10 +275,10 @@ def map(
def partial(
self, *, dag: Optional["DAG"] = None, task_group:
Optional["TaskGroup"] = None, **kwargs
) -> "_TaskDecorator[T, OperatorSubclass]":
+ if self.kwargs:
+ raise RuntimeError("Already a partial task")
Review comment:
Removed this check only in deb54df1c
--
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]