Add signature support for all current Index attributes.
Review Request #12211 — Created March 25, 2022 and submitted — Latest diff uploaded
Index signatures can now store
condition
,db_tablespace
,
expressions
,include
, andopclasses
.Many of these are stored in
attrs
for future management of attributes,
and these map to keyword arguments onIndex
.expressions
maps to
positional arguments, and are stored separately. Existing attributes
(name
andfields
) remain at the top-level of the signature
dictionary.
Unit tests pass on all supported versions of Python and Django.