#34355: Make BaseConstraint arguments keyword-only
-------------------------------------+-------------------------------------
Reporter: xafer | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: dev
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
As suggested in
https://github.com/django/django/pull/16560#pullrequestreview-1305496392
> I think we should change the signature of BaseConstraint to use keyword-
only arguments as a separate cleanup
`name` and `violation_error_message` are already keyword-only in all the
`BaseConstraint` subclasses in Django code base.
--
Ticket URL: <https://code.djangoproject.com/ticket/34355>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701866efc76ad-f2c6438e-6924-44e7-89c7-11bdfad1c035-000000%40eu-central-1.amazonses.com.