-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
132 additions
and
62 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,11 @@ | ||
RELEASE_TYPE: minor | ||
|
||
This release automatically rewrites some simple filters, such as | ||
``integers().filter(lambda x: x > 9)`` to the more efficient | ||
``integers(min_value=10)``, based on the AST of the predicate. | ||
|
||
We continue to recommend using the efficient form directly wherever | ||
possible, but this should be useful for e.g. :pypi:`pandera` "``Checks``" | ||
where you already have a simple predicate and translating manually | ||
is really annoying. See :issue:`2701` for ideas about floats and | ||
simple text strategies. |
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