-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add pipeline API #9459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add pipeline API #9459
Changes from 15 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
e7eb43c
Add pipeline API
adriangb 7d78407
port to python 3.10
adriangb 6a1622d
port to python 3.10
adriangb 947e920
fix syntax
adriangb b3fe1c4
8000
code>
handle slots
adriangb May 20, 2024
a6d56cc
Remove match
adriangb 42505df
Remove match
adriangb b2855d0
ignore warning
adriangb aafb856
fix import
adriangb 0bd8b39
fix union
adriangb 697833f
fix union
adriangb d767731
sort imports
adriangb 8abb6e4
move
adriangb 217b11d
move
adriangb 89c46a1
add missing file
adriangb 6e91a32
namespace
adriangb 8e4d535
initial tests
sydney-runkle ada5853
add more operators
adriangb 8742e9e
Add json schema tests, add section mapping existing validators
adriangb f55b6e1
move things around for expeirmental pattern
sydney-runkle 7132bae
fix docs tests
sydney-runkle 0444fc9
maybe fix 3.9 test
sydney-runkle 1a8e505
use typing Pattern
sydney-runkle d979841
add PydanticExperimentalWarning
sydney-runkle fadf3bb
ignore warnings, for some reason pytestmark wasn't working
sydney-runkle 1699f35
3.8 friendly removesuffix
sydney-runkle d0a9372
Apply docs suggestions from code review
sydney-runkle bed0752
add __all__
adriangb eb61549
rename class to pipeline
adriangb a18a4df
get rid of on_lambda_err
adriangb 34663fe
pr feedback
adriangb dff9ad9
make transform use the field type instead of any
adriangb 479ab3c
add import
adriangb 7b49219
rename parse() -> validate_as()
adriangb 51bcad6
rename internal classes
adriangb 13b1721
make Pipeline _Pipeline
adriangb b8573b5
Remove namespaces
adriangb 888c4ed
more test
adriangb 141c8b6
use ellipsis
sydney-runkle 9d4194b
updating imports from internal test
sydney-runkle 128d4ea
maybe fixing zoneinfo tests, switching up validate_as annotation again
sydney-runkle 1c7302d
docs and linting
sydney-runkle 88dcb75
removing tzinfo stuff :(
sydney-runkle 19a3ee6
a bit more explanation
sydney-runkle 0652472
api docs update
sydney-runkle 4ccf4e5
Additional Test Cases for Experimental Pipeline API (#9566)
dAIsySHEng1 bad0a1a
fix common predicates + add tests
sydney-runkle a9d1099
remove unneeded line
sydney-runkle 14e9944
update to version policy docs
sydney-runkle 42a2708
skip linting
sydney-runkle 021604f
fix type hint for _Pipeline.then
adriangb 38a2730
Apply suggestions from code review
sydney-runkle 0c36b7c
Update pydantic/experimental/pipeline.py
sydney-runkle 8d46b21
add public todo
sydney-runkle a46c2e3
move predicate up
sydney-runkle 7386d69
new idea for overload
sydney-runkle dc07b50
test fixes
sydney-runkle cbb216b
update test cases with comments
sydney-runkle 581cbe8
no freeze notes
sydney-runkle c3a008f
suggested frozen change
sydney-runkle 26c5325
add test
adriangb 166df3d
add more assertions
adriangb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| ::: pydantic.experimental |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.