Skip to content

Commit 6924a0d

Browse files
committed
Fix remaining pyright errors in dash.Dash
1 parent 79fa356 commit 6924a0d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dash/dash.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ class Dash(ObsoleteChecker):
393393

394394
server: flask.Flask
395395

396+
# Layout is a complex type which can be many things
397+
_layout: Any
398+
_extra_components: Any
399+
396400
def __init__( # pylint: disable=too-many-statements
397401
self,
398402
name: Optional[str] = None,
@@ -1896,7 +1900,7 @@ def enable_dev_tools(
18961900

18971901
if "_pytest" in sys.modules:
18981902
from _pytest.assertion.rewrite import ( # pylint: disable=import-outside-toplevel
1899-
AssertionRewritingHook,
1903+
AssertionRewritingHook, # type: ignore[reportPrivateImportUsage]
19001904
)
19011905

19021906
for index, package in enumerate(packages):

0 commit comments

Comments
 (0)