-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Single input #1180
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
Single input #1180
Changes from 28 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
250352a
Allow single Input not in a list
mbegel 93284ac
One test uses single Input not in list
mbegel d167e94
Update CHANGELOG.md with PR 1180
mbegel c839c80
Don't use input as variable
mbegel 0e03062
Adapt the integration code to un-nested inputs
mbegel e9f5559
Fix typo in error message
wilhelmhb 35f35e6
Allow callback arguments to be passed outside lists
wilhelmhb 3ab52cd
Add tests
wilhelmhb b61e4d0
Fix linting
wilhelmhb c926b20
Fix backward compatibility for single output lists
wilhelmhb 775bf09
lint
alexcjohnson 94b4bdf
Backward compatibility
wilhelmhb 0ed8144
Merge branch 'dev' into single_input
alexcjohnson 6edd176
lint - and hopefully make black work on CI
alexcjohnson 3cdf975
move callback arg parsing into dependencies.py
alexcjohnson 474b837
partial fix for flat callbacks
alexcjohnson 5ead982
Merge branch 'dev' into single_input
alexcjohnson bfabbea
fix changelog for single_input
alexcjohnson 23f9313
remove commented-out code
alexcjohnson 868cff3
black - now that it's actually running in CI :tada:
alexcjohnson c6dc6a8
lint a little more
alexcjohnson 3006905
simplify validation & fix exception type
alexcjohnson 5e17caf
rearrange callback tests
alexcjohnson d301e3b
tyop
alexcjohnson 473895e
lint & simplify _validate
alexcjohnson 302f44c
test for wrapped vs unwrapped single output callback
alexcjohnson 3d7bc0c
convert a few wildcard tests - including clientside callbacks - to un…
alexcjohnson 06039d7
lint
alexcjohnson bda5823
Merge branch 'dev' into single_input
alexcjohnson d158ef8
more targeted error message on out-of-order callback args
alexcjohnson 47cb860
black
alexcjohnson 34b61a2
Merge branch 'dev' into single_input
alexcjohnson 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When running against
Got the error message:
As the error causing props are from the previous
State('table', 'data_previous')
andInput('btn', 'n_clicks')
, the message could be tweaked to be more helpful / point to the problematic parameters / relationship more precisely.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. In d158ef8 I changed it so this particular situation would say: