From: Mike Bayer Date: Thu, 17 Nov 2011 19:21:27 +0000 (-0500) Subject: go along with sphinx and put the init params in the class docs X-Git-Tag: rel_0_1_0~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e209347f37627769daa0986a18a8ca6f0d21183;p=thirdparty%2Fsqlalchemy%2Falembic.git go along with sphinx and put the init params in the class docs --- diff --git a/alembic/config.py b/alembic/config.py index 8957ac0b..e6867495 100644 --- a/alembic/config.py +++ b/alembic/config.py @@ -25,17 +25,16 @@ class Config(object): run Alembic commands programmatically using the directives in :mod:`alembic.command`. + :param file_: name of the .ini file to open. + :param ini_section: name of the main Alembic section within the + .ini file + :param output_buffer: optional file-like input buffer which + will be passed to the :class:`.Context` - used to redirect + access when using Alembic programmatically. """ def __init__(self, file_, ini_section='alembic', output_buffer=None): """Construct a new :class:`.Config` - :param file_: name of the .ini file to open. - :param ini_section: name of the main Alembic section within the - .ini file - :param output_buffer: optional file-like input buffer which - will be passed to the :class:`.Context` - used to redirect - access when using Alembic programmatically. - """ self.config_file_name = file_ self.config_ini_section = ini_section