From a0b19dbbcbd6da730433556e738edb14fddb4bec Mon Sep 17 00:00:00 2001 From: Dennis Magnusson Date: Wed, 30 Oct 2024 19:33:40 +0200 Subject: [PATCH] Update declarative_styles.rst: add missing import from typing in the example (#12034) * Update declarative_styles.rst: add missing import * Update declarative_styles.rst: make import statement style consistent (cherry picked from commit f418ac8d38a26936aa9a8ed9befe210c88b97f33) --- doc/build/orm/declarative_styles.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/build/orm/declarative_styles.rst b/doc/build/orm/declarative_styles.rst index 48897ee6d6..8feb5398b1 100644 --- a/doc/build/orm/declarative_styles.rst +++ b/doc/build/orm/declarative_styles.rst @@ -51,6 +51,7 @@ With the declarative base class, new mapped classes are declared as subclasses of the base:: from datetime import datetime + from typing import List from typing import Optional from sqlalchemy import ForeignKey -- 2.47.3