diff options
Diffstat (limited to 'alembic/runtime/environment.py')
-rw-r--r-- | alembic/runtime/environment.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alembic/runtime/environment.py b/alembic/runtime/environment.py index 7eb06ed..3b6252c 100644 --- a/alembic/runtime/environment.py +++ b/alembic/runtime/environment.py @@ -690,6 +690,10 @@ class EnvironmentContext(util.ModuleClsProxy): ``--autogenerate`` option itself can be inferred by inspecting ``context.config.cmd_opts.autogenerate``. + The callable function may optionally be an instance of + a :class:`.Rewriter` object. This is a helper object that + assists in the production of autogenerate-stream rewriter functions. + .. versionadded:: 0.8.0 @@ -697,6 +701,8 @@ class EnvironmentContext(util.ModuleClsProxy): :ref:`customizing_revision` + :ref:`autogen_rewriter` + Parameters specific to individual backends: |