Changes between Initial Version and Version 1 of Ticket #35234, comment 8


Ignore:
Timestamp:
Feb 23, 2024, 9:33:37 AM (9 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35234, comment 8

    initial v1  
    331. Store the attribute in `CheckExpression.condition` and allow either `condition` or `check` to be passed to `__init__`
    442. Raise a deprecation warning when `check` is provided.
    5 3. Add a `@property` deprecation shim for `CheckExpression.check` that returns `self.condition`
     53. Add a `@property` shim for `CheckExpression.check` that returns `self.condition` and raise a deprecation warning
    664. Merge this patch that has `Model._check_constraints` call `BaseConstraint._check` for the time being to perform system checks
    7 5. When the deprecation period ends remove the shim and have the `_check_constraints` call into the newly instated `BaseConstraint.check` method and take the opportunity to document it.
     75. When the deprecation period ends remove the shim and have `_check_constraints` call into the newly instated `BaseConstraint.check` method and take the opportunity to document it.
Back to Top