diff options
author | CaselIT <cfederico87@gmail.com> | 2023-03-17 00:50:53 +0100 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2023-05-04 22:53:09 +0200 |
commit | 2aba0ada168d0047d54c7a08b0ffdde3102b716b (patch) | |
tree | 6334971e00debf16b208de8b12d882a79b75d902 /docs/build/ops.rst | |
parent | e17e59ee2be160fff35b38b08d68766a971b3069 (diff) | |
download | alembic-2aba0ada168d0047d54c7a08b0ffdde3102b716b.tar.gz |
Add Operations and BatchOperations stub methods
Updated stub generator script to also add stubs method definitions
for the :class:`.Operations` class and the :class:`.BatchOperations`
class obtained from :meth:`.Operations.batch_alter_table`.
Repaired the return signatures for :class:`.Operations` that mostly
return ``None``, and were erroneously referring to ``Optional[Table]``
in many cases.
Fixes: #1093
Change-Id: I98d38dd5a1e719b4dbbc1003746ec28f26c27808
Diffstat (limited to 'docs/build/ops.rst')
-rw-r--r-- | docs/build/ops.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/build/ops.rst b/docs/build/ops.rst index efcff37..c8d6d77 100644 --- a/docs/build/ops.rst +++ b/docs/build/ops.rst @@ -41,6 +41,9 @@ method. .. module:: alembic.operations +.. autoclass:: AbstractOperations + :members: + .. autoclass:: Operations :members: |