diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-06 18:58:21 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-06 18:58:21 -0400 |
| commit | 15b62fd20b47d8da0f095150283f24cb1ea7fb0b (patch) | |
| tree | bfc51a76a3db2e6aac98c78db4bfcc8e9d95d71e | |
| parent | dea0ac910ff941d5bbba0d922fb6eff5890d197c (diff) | |
| download | sqlalchemy-15b62fd20b47d8da0f095150283f24cb1ea7fb0b.tar.gz | |
fix link
Change-Id: If5d9bf472c434fc2df6d822075fa34fd45c84ecc
| -rw-r--r-- | doc/build/orm/extensions/mypy.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/extensions/mypy.rst b/doc/build/orm/extensions/mypy.rst index fd3beed0b..edd3af7c0 100644 --- a/doc/build/orm/extensions/mypy.rst +++ b/doc/build/orm/extensions/mypy.rst @@ -422,7 +422,7 @@ Using @declared_attr and Declarative Mixins The :class:`_orm.declared_attr` class allows Declarative mapped attributes to be declared in class level functions, and is particularly useful when using -`declarative mixins <orm_mixins_toplevel>`_. For these functions, the return +:ref:`declarative mixins <orm_mixins_toplevel>`. For these functions, the return type of the function should be annotated using either the ``Mapped[]`` construct or by indicating the exact kind of object returned by the function. Additionally, "mixin" classes that are not otherwise mapped (i.e. don't extend |
