IdlMetadata

class lsst.ts.salobj.IdlMetadata(name: str, idl_path: str | pathlib.Path, sal_version: str | None, xml_version: str | None, 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.