File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,20 @@ class Config:
75
75
alembic_cfg.attributes['connection'] = connection
76
76
command.upgrade(alembic_cfg, "head")
77
77
78
- :param file\_: name of the .ini file to open.
78
+ :param file\_: name of the .ini file to open if an ``alembic.ini`` is
79
+ to be used. This should refer to the ``alembic.ini`` file, either as
80
+ a filename or a full path to the file. This filename if passed must refer
81
+ to an **ini file in ConfigParser format** only.
82
+
83
+ :param toml\_file: name of the pyproject.toml file to open if a
84
+ ``pyproject.toml`` file is to be used. This should refer to the
85
+ ``pyproject.toml`` file, either as a filename or a full path to the file.
86
+ This file must be in toml format. Both :paramref:`.Config.file\_` and
87
+ :paramref:`.Config.toml\_file` may be passed simultaneously, or
88
+ exclusively.
89
+
90
+ .. versionadded:: 1.16.0
91
+
79
92
:param ini_section: name of the main Alembic section within the
80
93
.ini file
81
94
:param output_buffer: optional file-like input buffer which
You can’t perform that action at this time.
0 commit comments