Add signature support for all current Index attributes.
Review Request #12211 — Created March 25, 2022 and submitted
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.
Summary | ID |
---|---|
d7e65cc0da0ad4ac0a723bfcf39714922792504b |
Description | From | Last Updated |
---|---|---|
F401 'copy.deepcopy' imported but unused |
reviewbot | |
F401 'django_evolution.support.supports_q_comparison' imported but unused |
reviewbot | |
F401 'django_evolution.support.supports_f_comparison' imported but unused |
reviewbot | |
F401 'django_evolution.tests.decorators.requires_attr' imported but unused |
reviewbot | |
F811 redefinition of unused 'test_ne_with_different_conditions' from line 2752 |
reviewbot |