You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/matt/2022/02/22/dags/datetime_mapped.py", line 23, in <module>
DateTimeSensor.partial(task_id="sleep", mode="reschedule").apply(
File "/Users/matt/src/airflow/airflow/models/mappedoperator.py", line 203, in apply
deps=MappedOperator.deps_for(self.operator_class),
File "/Users/matt/src/airflow/airflow/models/mappedoperator.py", line 287, in deps_for
return operator_class.deps | {MappedTaskIsExpanded()}
TypeError: unsupported operand type(s) for |: 'property' and 'set'
Exception ignored in: <function OperatorPartial.__del__ at 0x10ed90160>
Traceback (most recent call last):
File "/Users/matt/src/airflow/airflow/models/mappedoperator.py", line 182, in __del__
warnings.warn(f"{self!r} was never mapped!")
File "/usr/local/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/warnings.py", line 109, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
File "/Users/matt/src/airflow/airflow/settings.py", line 115, in custom_show_warning
from rich.markup import escape
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 982, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 925, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1414, in find_spec
File "<frozen importlib._bootstrap_external>", line 1380, in _get_spec
TypeError: 'NoneType' object is not iterable
What you expected to happen
No errors. Instead a dag with three parallel sensors.
Apache Airflow version
main (development)
What happened
Here's a DAG:
I wanted to see if it would parse, so I ran:
And I got this error:
What you expected to happen
No errors. Instead a dag with three parallel sensors.
How to reproduce
Try to use the DAG shown above.
Operating System
Mac OS Bug Sur
Versions of Apache Airflow Providers
N/A
Deployment
Virtualenv installation
Deployment details
version: 2.3.0.dev0
cloned at: 8ee8f2b34
Anything else
A comment from @ashb about this
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: