tango.pyaml.static_catalog_entry#
Single entry of a StaticCatalog.
Classes
|
A single key-to-device mapping in a static catalog. |
- class tango.pyaml.static_catalog_entry.StaticCatalogEntry(key, device)#
Bases:
DynamicValidationA single key-to-device mapping in a static catalog.
- Parameters:
key (str) – Catalog key used to look up the device.
device (DeviceAccess) – Device access object returned when the key is resolved.
- key#
Catalog key used to look up the device.
- Type:
str
- device#
Device access object returned when the key is resolved.
- Type:
DeviceAccess
- get_key()#
Return the catalog key for this entry.
- get_device()#
Return the device access object associated with this entry.
- get_device()#
Return the device access object associated with this entry.
- Returns:
DeviceAccess – Device access object.
- Return type:
DeviceAccess
- get_key()#
Return the catalog key for this entry.
- Returns:
str – Catalog key.
- Return type:
str