ephraimbuddy commented on PR #23463:
URL: https://github.com/apache/airflow/pull/23463#issuecomment-1117003317
Looks like we have a problem with this, it produces parse error for the dag
below:
```python
from airflow import DAG
from datetime import datetime, timedelta
from airflow.operators.python import PythonOperator
def mynameis(arg):
print(arg)
with DAG(
dag_id="my_name_is",
start_date=datetime(1990, 1, 1),
schedule_interval=timedelta(days=30 * 365),
) as dag:
PythonOperator.partial(task_id='myname_is',
python_callable=mynameis).expand(op_args=['a', 'b', 'c'])
```
--
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]