HasIO: attached io must not be mandatory
as an uri might be given instead.
This commit is contained in:
parent
5a78a5b258
commit
8bfe969a95
@ -47,7 +47,7 @@ class SilentError(CommunicationFailedError):
|
|||||||
|
|
||||||
class HasIO(Module):
|
class HasIO(Module):
|
||||||
"""Mixin for modules using a communicator"""
|
"""Mixin for modules using a communicator"""
|
||||||
io = Attached()
|
io = Attached(mandatory=False)
|
||||||
uri = Property('uri for automatic creation of the attached communication module',
|
uri = Property('uri for automatic creation of the attached communication module',
|
||||||
StringType(), default='')
|
StringType(), default='')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user