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:
2026-02-25 10:19:08 +01:00
parent 1100607e1a
commit f6c4010470
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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):