vincbeck commented on code in PR #57368:
URL: https://github.com/apache/airflow/pull/57368#discussion_r2481304362
##########
airflow-core/src/airflow/cli/commands/db_command.py:
##########
@@ -44,6 +44,8 @@
@providers_configuration_loaded
def resetdb(args):
"""Reset the metadata database."""
+ if settings.engine is None:
Review Comment:
Maybe to avoid repeating this you can create a function in settings to get
the engine? And add that if in that function?
--
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]