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/12 18:32:26 UTC
[GitHub] [airflow] ashb commented on pull request #22941: Allow users to control baseoperator parameters in decorated task more
ashb commented on PR #22941:
URL: https://github.com/apache/airflow/pull/22941#issuecomment-1097056563
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}')()
```
--
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