]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
document operations in terms of Operations
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 May 2025 19:09:18 +0000 (15:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 May 2025 19:10:25 +0000 (15:10 -0400)
Change-Id: I6d0da502bd39252c74a4c240b08530b9b2ebdc37

alembic/operations/base.py
docs/build/ops.rst

index 9f9750315132c54e43e6474993cd71f323604056..26c3272427200fc8eb4b67b4e92f6573b6e3fbe2 100644 (file)
@@ -464,7 +464,7 @@ class AbstractOperations(util.ModuleClsProxy):
         names will be converted along conventions.  If the ``target_metadata``
         contains the naming convention
         ``{"ck": "ck_bool_%(table_name)s_%(constraint_name)s"}``, then the
-        output of the following:
+        output of the following::
 
             op.add_column("t", "x", Boolean(name="x"))
 
index c8d6d771c84e519f80f614e1a145a45334bbb5fc..8eb9bf7012570a089557be0a9c9140fa48eb165e 100644 (file)
@@ -41,11 +41,15 @@ method.
 
 .. module:: alembic.operations
 
-.. autoclass:: AbstractOperations
-    :members:
+.. class:: AbstractOperations
+
+    Base class for :class:`.Operations` and :class:`.BatchOperations`.
+
+    See :class:`.Operations` for full list of members
 
 .. autoclass:: Operations
     :members:
+    :inherited-members:
 
 .. autoclass:: BatchOperations
-    :members:
\ No newline at end of file
+    :members: