-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix some typing issues #2841
fix some typing issues #2841
Conversation
explainerdashboard
Outdated
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.
Remove empty.
package.json
Outdated
@@ -49,7 +49,7 @@ | |||
"devDependencies": { | |||
"@lerna/filter-options": "^6.4.1", | |||
"husky": "8.0.3", | |||
"lerna": "^6.6.2" | |||
"lerna": "^6.4.1" |
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.
Need to rollback to 6.6.2 > 6.4.1
dash/custom_types.py
Outdated
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.
Since this is a public module, we cannot rename without it being a breaking change.
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.
This look good overall and a good addition, just need to address my previous comments and add a changelog entry.
long_callback_manager: Optional[ | ||
Any | ||
] = None, # Type should be specified if possible | ||
background_callback_manager: Optional[ | ||
Any | ||
] = None, # Type should be specified if possible |
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.
Both of those should be of type dash.long_callback.managers.BaseLongCallbackManager
meta_tags: Optional[List[Dict[str, Any]]] = None, | ||
index_string: str = _default_index, | ||
external_scripts: Optional[List[Union[str, Dict[str, Any]]]] = None, | ||
external_stylesheets: Optional[List[Union[str, Dict[str, Any]]]] = None, |
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.
Those Any
in the Dict
would be str
@@ -375,40 +378,43 @@ class Dash: | |||
STARTUP_ROUTES: list = [] | |||
|
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.
we can add server: flask.Flask
here.
@DanielIskandar are you interested in updating this one so that we can merge it? thanks - @gvwilson |
Start with a description of this PR. Then edit the list below to the items that make sense for your PR scope, and check off the boxes as you go!
Contributor Checklist
optionals
CHANGELOG.md