Source code for ska_tmc_cdm.messages.subarray_node.configure.sdp

The configure.sdp module contains Python classes that represent the various
aspects of SDP configuration that may be specified in a SubArrayNode.configure

__all__ = ["SDPConfiguration"]

from typing import Optional


[docs]class SDPConfiguration: """ Message class to hold SDP configuration aspect of a TMC SubArrayNode.Configure call. """ def __init__( self, *, # force kwonly args interface: Optional[str] = SCHEMA, scan_type: str ): self.interface = interface self.scan_type = scan_type def __eq__(self, other): if not isinstance(other, SDPConfiguration): return False return self.interface == other.interface and self.scan_type == other.scan_type