diff options
| author | Federico Caselli <cfederico87@gmail.com> | 2021-04-05 21:57:24 +0200 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-06 17:18:44 -0400 |
| commit | 3de954bc027ebf655e7ed26c83cfb3fd4b7b5edf (patch) | |
| tree | 207b479aee69c640acb4143567fe882084ec1d0c /lib/sqlalchemy/sql/expression.py | |
| parent | 165c3a65dcb1ba3f42ecf2b5da7c298bdc259f9b (diff) | |
| download | sqlalchemy-3de954bc027ebf655e7ed26c83cfb3fd4b7b5edf.tar.gz | |
Table arguments name and metadata are positional only
The :class:`_sql.Table` object now raises an informative error message if
it is instantiated without passing at least the :paramref:`_sql.Table.name`
and :paramref:`_sql.Table.metadata` arguments positionally. Previously, if
these were passed as keyword arguments, the object would silently fail to
initialize correctly.
Fixes: #6135
Change-Id: I54d0c89fd549fc504289a87ea0bb37369f982b06
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions
