diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-15 00:43:29 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-15 00:43:29 -0500 |
commit | b5facd3a575afd1c2f99c8efcf888a077804c300 (patch) | |
tree | 4cdb93d5865761c560308aa88c5c29afb39d1675 /alembic/context.py | |
parent | 905632c70da9252bed652ab8fbd03160abbc041e (diff) | |
download | alembic-b5facd3a575afd1c2f99c8efcf888a077804c300.tar.gz |
more typos
Diffstat (limited to 'alembic/context.py')
-rw-r--r-- | alembic/context.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/alembic/context.py b/alembic/context.py index 857c6a9..ed0c547 100644 --- a/alembic/context.py +++ b/alembic/context.py @@ -216,12 +216,9 @@ def get_revision_argument(): """Get the 'destination' revision argument. This is typically the argument passed to the - ``upgrade`` or ``downgrade`` command, but can - be overridden via the ``destination_rev`` argument - passed to :func:`.configure`. + ``upgrade`` or ``downgrade`` command. - If - it was specified as ``head``, the actual + If it was specified as ``head``, the actual version number is returned; if specified as ``base``, ``None`` is returned. @@ -262,7 +259,8 @@ def configure( If the :func:`.requires_connection` function returns False, then no connection is needed here. Otherwise, the - object should be an instance of :class:`sqlalchemy.engine.base.Connection`. + ``connection`` parameter should be present as an + instance of :class:`sqlalchemy.engine.base.Connection`. This function is typically called from the ``env.py`` script within a migration environment. It can be called @@ -282,7 +280,7 @@ def configure( this otherwise defaults to whether or not the dialect in use supports it. :param output_buffer: a file-like object that will be used for textual output when the ``--sql`` option is used to generate SQL scripts. Defaults to - ``sys.stdout`` it not passed here. + ``sys.stdout`` if not passed here. :param starting_rev: Override the "starting revision" argument when using ``--sql`` mode. :param tag: a string tag for usage by custom ``env.py`` scripts. Set via |