Skip to content

Commit 90e4487

Browse files
committed
Deprecate plugins
1 parent 9323c28 commit 90e4487

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dash/dash.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,12 @@ def __init__( # pylint: disable=too-many-statements
557557
if plugins is not None and isinstance(
558558
plugins, patch_collections_abc("Iterable")
559559
):
560+
warnings.warn(
561+
DeprecationWarning(
562+
"plugins will be removed from Dash init in dash 3.0 and will be replaced by"
563+
" a new system."
564+
)
565+
)
560566
for plugin in plugins:
561567
plugin.plug(self)
562568

0 commit comments

Comments
 (0)