introduce the basic concept of optional keys
This commit is contained in:
@@ -23,4 +23,7 @@ class RtlTcpSource(ConnectorSource):
|
||||
|
||||
class RtlTcpDeviceDescription(ConnectorDeviceDescription):
|
||||
def getInputs(self) -> List[Input]:
|
||||
return self.mergeInputs(super().getInputs(), [RemoteInput()])
|
||||
return super().getInputs() + [RemoteInput()]
|
||||
|
||||
def getMandatoryKeys(self):
|
||||
return super().getMandatoryKeys() + ["device"]
|
||||
|
||||
Reference in New Issue
Block a user