Opened 4 years ago
Closed 4 years ago
#32458 closed Cleanup/optimization (fixed)
Make Index and Constraint __repr__ consistent.
Reported by: | Hannes Ljungberg | Owned by: | Hannes Ljungberg |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 4.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Index
, UniqueConstraint
, ExclusionConstraint
and CheckConstraint
currently have slightly different formatting on their __repr__
methods. We should keep them consistent.
Change History (6)
comment:1 by , 4 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 4 years ago
Patch needs improvement: | set |
---|
comment:3 by , 4 years ago
Description: | modified (diff) |
---|---|
Summary: | Make class based Indexes and Constraints have a consistent repr → Make Index and Constraint __repr__ consistent. |
comment:4 by , 4 years ago
Patch needs improvement: | unset |
---|
comment:5 by , 4 years ago
Has patch: | set |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
PR