From 139a93267b3e79c1391338779bc8da715b75cfb5 Mon Sep 17 00:00:00 2001 From: smorokin <32683528+smorokin@users.noreply.github.com> Date: Wed, 11 Nov 2020 09:17:37 +0100 Subject: [PATCH] Use code example without type hints --- docs/models.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/models.md b/docs/models.md index 5fdc950..d7d3393 100644 --- a/docs/models.md +++ b/docs/models.md @@ -78,7 +78,7 @@ Therefore from version >=0.4.0 `ormar` switched to new notation. Note that type hints are **optional** so perfectly valid `ormar` code can look like this: ```Python hl_lines="15-17" ---8<-- "../docs_src/models/docs001.py" +--8<-- "../docs_src/models/docs012.py" ``` !!!warning @@ -347,4 +347,4 @@ For example to list table model fields you can: [databases]: https://github.com/encode/databases [sqlalchemy connection string]: https://docs.sqlalchemy.org/en/13/core/engines.html#database-urls [sqlalchemy table creation]: https://docs.sqlalchemy.org/en/13/core/metadata.html#creating-and-dropping-database-tables -[alembic]: https://alembic.sqlalchemy.org/en/latest/tutorial.html \ No newline at end of file +[alembic]: https://alembic.sqlalchemy.org/en/latest/tutorial.html