You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/13 09:56:49 UTC
[GitHub] [airflow] ephraimbuddy commented on pull request #22941: Allow users to control baseoperator parameters in decorated task more
ephraimbuddy commented on PR #22941:
URL: https://github.com/apache/airflow/pull/22941#issuecomment-1097841336
> Or how about something like this:
>
> ```python
> @task
> def hello():
> print('Hello')
>
> @dag():
> def mydag2():
> for i in range(3):
> hello.override(task_id=f'welcome_message_{i}')()
> ```
>
> (As with many of my suggestions it's just that -- you are welcome, encouraged even, to disagree with me if you don't like it)
Updated with this.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org