Hi Mike,
Thanks for the response.
I was trying something like
cfg = Config('my_alembic.ini')
cfg.set_main_option("timezone", "UTC")
cfg.set_main_option("truncate_slug_length", "40")
command.init(cfg, 'my_alembic')
and was expecting the generated my_alembic.ini file to include the
timezone and
hi there -
this question lacks specifics. There are no configuration options that are
relevant to the "alembic init" command in any case so it's not clear what
config settings you are seeing as "ignored"; init uses only the name of the ini
file given and this works:
from alembic.config
I noticed that the command.init api ignores any config settings set by
cfg.set_main_option or cfg.set_option. Is there any reasons that we could
not allow the init file generated by command.ini api to use those user
config settings?
--
You received this message because you are subscribed to