diff options
author | Geraint Williams <geraint.williams@gmail.com> | 2021-04-27 21:22:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 22:22:29 +0200 |
commit | 92a7b65eaeb0255602996f6afec9337256266ab5 (patch) | |
tree | bd74fd3f8ff0fff90daaf785a12b1b0276b417b1 | |
parent | f81b71175dce49cfd15b6c53b7f5ccc05d715ed5 (diff) | |
download | sqlalchemy-92a7b65eaeb0255602996f6afec9337256266ab5.tar.gz |
typo in an import statement in docs (#6362)
* typo in import in docs
* fix typo in documentation import statement
-rw-r--r-- | doc/build/orm/declarative_tables.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/declarative_tables.rst b/doc/build/orm/declarative_tables.rst index b3309b718..47f49c742 100644 --- a/doc/build/orm/declarative_tables.rst +++ b/doc/build/orm/declarative_tables.rst @@ -166,7 +166,7 @@ at :ref:`schema_metadata_schema_name`. The :class:`_schema.MetaData` object may be constructed separately and passed either to :func:`_orm.registry` or :func:`_orm.declarative_base`:: - from sqlalchemy import metadata + from sqlalchemy import MetaData metadata = MetaData(schema="some_schema") Base = declarative_base(metadata = metadata) |