uranusjr commented on code in PR #31415:
URL: https://github.com/apache/airflow/pull/31415#discussion_r1200114380


##########
airflow/config_templates/config.yml:
##########
@@ -452,6 +452,14 @@ core:
 database:
   description: ~
   options:
+    alembic_ini_file_path:
+      description: |
+        Optional path to a custom alembic.ini file. If provided, these 
configurations
+        will be prioritised over the default alembic.ini file.
+      version_added: 2.7.0
+      type: string
+      example: ~
+      default: ~

Review Comment:
   I’d say
   
   ```ini
   alembic_ini_file_path = alembic.ini
   ```
   
   implies prepending `airflow.__file__` (which is added in Python code), and 
if you don’t want that to be prepended you need something like
   
   ```ini
   alembic_ini_file_path = /path/to/my/config/file.ini
   ```
   
   This can be detected with `os.path.isabs`.



-- 
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]

Reply via email to