We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a2545 commit b7a3692Copy full SHA for b7a3692
2 files changed
streamz/__init__.py
@@ -3,6 +3,10 @@
3
from .core import *
4
from .graph import *
5
from .sources import *
6
+from .plugins import load_plugins
7
+
8
+load_plugins()
9
10
try:
11
from .dask import DaskStream, scatter
12
except ImportError:
streamz/plugins.py
@@ -0,0 +1,6 @@
1
+import pkg_resources
2
+def load_plugins():
+ for entry_point in pkg_resources.iter_entry_points("streamz.plugins"):
+ entry_point.load()
0 commit comments