HasIO: attached io must not be mandatory

as an uri might be given instead.
This commit is contained in:
zolliker 2022-09-08 14:55:36 +02:00
parent 5a78a5b258
commit 8bfe969a95

View File

@ -47,7 +47,7 @@ class SilentError(CommunicationFailedError):
class HasIO(Module):
"""Mixin for modules using a communicator"""
io = Attached()
io = Attached(mandatory=False)
uri = Property('uri for automatic creation of the attached communication module',
StringType(), default='')