Skip to content

Commit 3f4dadb

Browse files
committed
-
1 parent aa2c75e commit 3f4dadb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source_py3/python_toolbox/emitting/emitter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ def __init__(self, inputs=(), outputs=(), name=None):
6969
from python_toolbox import sequence_tools
7070

7171
inputs = sequence_tools.to_tuple(inputs,
72-
item_type=collections.Callable)
72+
item_type=Emitter)
7373
outputs = sequence_tools.to_tuple(outputs,
74-
item_type=collections.Callable)
74+
item_type=(collections.Callable,
75+
Emitter))
7576

7677
self._inputs = set()
7778
'''The emitter's inputs.'''

0 commit comments

Comments
 (0)