brki opened a new issue, #60598: URL: https://github.com/apache/airflow/issues/60598
### Description Many projects provide an interactive shell with all necessary bootstrapping done. For example Django's 'django-admin shell` command. It would be nice to have this on Airflow too. A command like `airflow shell` could be used. ### Use case/motivation There are various use cases, here are two: ### Production debugging Given: * you have access to a shell on your productive Airflow instance. * you have some connections (DB, HTTP, whatever) that are used in existing Airflow DAGs, that, due to firewall restrictions, you can not access from your workstation. * a previously working DAG stops delivering the data you expect it to. Perhaps there's an error, or perhaps the data received simply doesn't look like it is supposed to. Then: It would be nice to be able to connect to a python shell on the prod (or integration) Airflow instance and interactively run commands, use the defined connections, and investigate what is happening. ### Local development Given: * you are developing a task to pull and process data from a data source * you are not familiar with the data delivered Then: It would be nice to have an interactive python shell that allows you to use that connection interactively. ### Related issues Discussion: https://github.com/apache/airflow/discussions/60334 ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
