]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
docs(types) Fix missing import from sqlalchemy (#7978)
authorkhashashin <khashashin@users.noreply.github.com>
Tue, 3 May 2022 20:00:59 +0000 (22:00 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 3 May 2022 20:01:58 +0000 (22:01 +0200)
commitc5ca81697feedb2739453ff6c5bc6ec76ed58eb7
treeeca236f3a154073f3dd5c942998657c5a6b1d7e7
parent17f33b7d45af0f310db34cfe2c629f3d26dd0796
docs(types) Fix missing import from sqlalchemy (#7978)

* docs(types) Fix missing import from sqlalchemy

The sample code is missing the import of Enum from sqlalchemy, which might confuse the reader, since we are using another enum type from Python itself here. So it makes sense to clarify that here.

* fix whitespaces

Change-Id: I019bbed8a7278f60e7239160ea4c99ecd2519d3b

Co-authored-by: Federico Caselli <cfederico87@gmail.com>
(cherry picked from commit f89a202d60215b13e3733a3ea950473962b3cf67)
lib/sqlalchemy/sql/sqltypes.py