-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Description
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Not able to materialize an asset via CLI
airflow assets materialize --name asset_name -v
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 10, in
sys.exit(main())
File "/opt/airflow/airflow-core/src/airflow/main.py", line 58, in main
args.func(args)
File "/opt/airflow/airflow-core/src/airflow/cli/cli_config.py", line 48, in command
func = import_string(import_path)
File "/opt/airflow/airflow-core/src/airflow/utils/module_loading.py", line 39, in import_string
module = import_module(module_path)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'airflow.cli.commands.asset_command'
What you think should happen instead?
No response
How to reproduce
Have an asset created and run the below CLI command:
airflow assets materialize --name <<asset_name>> -v
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct