HasIO: automatic creation of io from uri fails
attached io in HasIO must not be mandatory - either uri or io has to be given Change-Id: Id39e40f98020d4051c1ad8105f6af6018aafaea8 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/29349 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
parent
eaefa1ce87
commit
64cb297a06
@ -47,7 +47,7 @@ class SilentError(CommunicationFailedError):
|
||||
|
||||
class HasIO(Module):
|
||||
"""Mixin for modules using a communicator"""
|
||||
io = Attached()
|
||||
io = Attached(mandatory=False) # either io or uri must be given
|
||||
uri = Property('uri for automatic creation of the attached communication module',
|
||||
StringType(), default='')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user