Replies: 1 comment 2 replies
-
hi - Alembic's config as mentioned previously is a thin facade over the Python std lib configparser object. It's accessible by the publicly documented file_config attribute. When you have the ConfigParser you can use the write method: with open('example.ini', 'w') as configfile:
alembic_config.file_config.write(configfile) hope this helps |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Config object in API doesn't allow to dump its contents for debugging. At least the doc is silent about it. The ideal way would be to dump it in .ini format for comparison.
Beta Was this translation helpful? Give feedback.
All reactions