-
-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Add __clause_element__ to ColumnProperty"
- Loading branch information
Showing
4 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. change:: | ||
:tags: bug, orm declarative | ||
:tickets: 4372 | ||
|
||
Added a ``__clause_element__()`` method to :class:`.ColumnProperty` which | ||
can allow the usage of a not-fully-declared column or deferred attribute in | ||
a declarative mapped class slightly more friendly when it's used in a | ||
constraint or other column-oriented scenario within the class declaration, | ||
though this still can't work in open-ended expressions; prefer to call the | ||
:attr:`.ColumnProperty.expression` attribute if receiving ``TypeError``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters