]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Document Table/Column accessors
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2021 20:14:46 +0000 (15:14 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2021 20:14:46 +0000 (15:14 -0500)
commite48d97b46a4ad19d4efe3c22d23d89d0ed92a310
treede49a1c2d32807cca6a37946e972f9a1012bbade
parent0a180a58baa4532cb07d9ca94057392a27b42421
Document Table/Column accessors

As Sphinx will not allow us to add attributes to the
.rst file while maintaining order, these have to be added
as class-level attributes.

Inlcude notes that "index" and "unique" parameters, while
indicated by Column.index / Column.unique, do not actually
indicate if the column is part of an index.

Fixes: #5851
Change-Id: I18fbaf6c504c4b1005b4c51057f80397fb48b387
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/selectable.py