We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc51c0d commit 1b4d0d3Copy full SHA for 1b4d0d3
dash/dash.py
@@ -542,7 +542,10 @@ def __init__( # pylint: disable=too-many-statements
542
# get_backend returns the backend class for a string
543
# So we compare the class names
544
expected_backend_cls = get_backend(inferred_backend)
545
- if backend is not expected_backend_cls:
+ if (
546
+ backend.__module__ != expected_backend_cls.__module__
547
+ or backend.__name__ != expected_backend_cls.__name__
548
+ ):
549
raise ValueError(
550
f"Conflict between provided backend '{backend.__name__}' and server type '{inferred_backend}'."
551
)
0 commit comments