refactor(io): Rename Get method to GetIO in IOManager interface
Updated method name in D-Bus interface and backend to do not use the same name as org.freedesktop.DBus.Properties. Som libs will map all methods of a node to an object for direct calling. If the names are the same, you have to filter the interface. Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
@@ -240,8 +240,8 @@ class InterfaceIoManager:
|
||||
<method name="GetAllOutputs">
|
||||
<arg name="object-path-list" type="ao" direction="out"/>
|
||||
</method>
|
||||
<method name="Get">
|
||||
<arg name="io_name" type="s" direction="in"/>
|
||||
<method name="GetIO">
|
||||
<arg name="name" type="s" direction="in"/>
|
||||
<arg name="object-path" type="o" direction="out"/>
|
||||
</method>
|
||||
<method name="ActivateIoSignals">
|
||||
@@ -291,7 +291,7 @@ class InterfaceIoManager:
|
||||
def GetAllOutputs(self) -> list[str]:
|
||||
return self.lst_out_object_path
|
||||
|
||||
def Get(self, io_name) -> str:
|
||||
def GetIO(self, io_name) -> str:
|
||||
if io_name in self._dc_io_interfaces:
|
||||
return self._dc_io_interfaces[io_name].object_path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user