-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add missing dev req dash-bootstrap-components * add rcfile option for check_code_dpd * fix bug when callback has a single output but in a list * allow a more flexible use of expanded_callback: - no obligation to adapt the signature of a callback when going from app.callback to app.expanded_callback - allow to specify the name of the specific extra parameters needed by the function (no need for **kwargs) to improve readability * use inspect.signature instead of inspect.getfullargspec as the latter does not work with @wraps(...) * simplify initialisation of callback_set dict * simplify wrap_func * make expanded callback the normal case: - always use dpd dispatch (remove the _expanded_callbacks variable and expanded_callbacks arguments in __init__, remove use_dash_dispatch()) - refactor the callback inspection logic to get_expanded_arguments and test it explicitly - refactur callback_set to use [] instead of {} as default - expanded_callback = callback - fix bug in handling callback.expanded - update doc * remove spurious print(...) Co-authored-by: GFJ138 <sebastien.dementen@engie.com>
- Loading branch information
1 parent
f410c48
commit b2d160f
Showing
9 changed files
with
234 additions
and
65 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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
# | ||
source env/bin/activate | ||
# | ||
pylint django_plotly_dash | ||
pylint django_plotly_dash --rcfile=pylintrc |
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
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
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
Oops, something went wrong.