frappy.io, frappy_psi.sea: add basecls to Attached
- this helps to narrow the selection of attached in frappy-edit Change-Id: I75800d24bdcc1b55bd5303d649a3c4e43d2c3fff
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ HEX_CODE = re.compile(r'[0-9a-fA-F][0-9a-fA-F]$')
|
||||
|
||||
class HasIO(Module):
|
||||
"""Mixin for modules using a communicator"""
|
||||
io = Attached(mandatory=False) # either io or uri must be given
|
||||
io = Attached(Communicator, mandatory=False) # either io or uri must be given
|
||||
uri = Property('uri for automatic creation of the attached communication module',
|
||||
StringType(), default='')
|
||||
|
||||
|
||||
+1
-1
@@ -479,7 +479,7 @@ def pop_cfg(cfgdict, *args):
|
||||
|
||||
|
||||
class SeaModule(Module):
|
||||
io = Attached()
|
||||
io = Attached(SeaClient)
|
||||
|
||||
# pylint: disable=too-many-statements,arguments-differ,too-many-branches
|
||||
def __new__(cls, name, logger, cfgdict, srv):
|
||||
|
||||
Reference in New Issue
Block a user