IdlMetadata

class lsst.ts.salobj.IdlMetadata(name: str, idl_path: Union[str, pathlib.Path], sal_version: Optional[str], xml_version: Optional[str], topic_info: Dict[str, lsst.ts.salobj.idl_metadata.TopicMetadata])

Bases: object

Information about SAL topics in an IDL file.

Parameters
namestr

SAL component name, e.g. “ATPtg”.

idl_pathstr or pathlib.Path

Path to IDL file.

sal_versionstr or None

Version of ts_sal used to generate the IDL file, or None if not found.

xml_versionstr

Version of ts_xml used to generate the IDL file, or None if not found.

topic_infodict [str: TopicMetadata]

Dict of SAL topic name: topic metadata.