Repository navigation
feat: Support plan *args and **kwargs #1662
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
Open
oliwenmandiamond
wants to merge
36
commits into
main
Choose a base branch
from
support_star_args
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ff91bf5
Support *args in plan args
oliwenmandiamond b130973
Merge branch 'main' into support_star_args
oliwenmandiamond fc09b96
Add tests to cover *args case
oliwenmandiamond d638884
Simplify logic
oliwenmandiamond d3d45e1
Fix test
oliwenmandiamond 44ce2fa
Use default_factory for args
oliwenmandiamond 32cc60e
Propergate change
oliwenmandiamond 42bad03
Fix lint
oliwenmandiamond 29b05e4
fix SUBMIT_REQUEST
oliwenmandiamond adfa659
Correct doc string
oliwenmandiamond 5983d91
Merge branch 'main' into support_star_args
oliwenmandiamond e26f0b0
Add backwards compatability
oliwenmandiamond 23e09b6
Update task parameter test
oliwenmandiamond 9b11a11
Merge branch 'main' into support_star_args
oliwenmandiamond 461272d
Clean up
oliwenmandiamond 9d13e6e
Merge branch 'support_star_args' of github.com:DiamondLightSource/blu…
oliwenmandiamond 8d638c4
Merge branch 'main' into support_star_args
OliWenman f882f08
Fix typing
OliWenman a3e46ef
Update openapi
oliwenmandiamond 88a1b48
Fix lint
oliwenmandiamond bcbd630
Add rest tak request v1 and v2
oliwenmandiamond 2e9d6f1
Fix test
oliwenmandiamond 6484e38
update all rest tests to use v1 and v2
oliwenmandiamond b430aa9
Add additional tests
oliwenmandiamond 4fffc33
Minor corrections
oliwenmandiamond 9f214f1
Update _build_args doc string
oliwenmandiamond 8f5fa12
Improve _type_spec_for_function logic
oliwenmandiamond 970f95c
Improve test to use args and kwargs
oliwenmandiamond 05b4cfd
Update tests for protocol and rest_api to be stronger, cover v1 and v2
oliwenmandiamond 38fb396
Add more combinations for system tests
oliwenmandiamond 38c4835
Fix system tests, discovered blueapi bug where it freezes when plan g…
oliwenmandiamond 48f0703
Fix annotation for main submit_task
oliwenmandiamond ab1a9a4
Update openapi.yaml
oliwenmandiamond 7e368aa
Implement import feedback.
oliwenmandiamond e517e73
Add feedback, correctly raise ValidationError in do_task and add test
oliwenmandiamond 5ff57de
Add comment why test is needed
oliwenmandiamond 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
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
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.
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.