Guide
Inspect dynamic catalogs
Use public catalog wrappers to inspect runtime commands, generic features, and physics declarations.
Inspect catalogs before choosing a feature kind, command or physics interface, especially when the same script must work with different Telion installations. An attached model supplies the available choices for its current runtime. The small example below uses empty catalogs only to illustrate the wrapper methods; an empty result is not a list of the features installed in Telion.
from telion import FeatureCatalog, PhysicsCatalog, RuntimeCommandCatalog
runtime = RuntimeCommandCatalog({"schemaVersion": "1.0.0", "commands": []})
features = FeatureCatalog({"schemaVersion": "1.0.0", "categories": []})
physics = PhysicsCatalog({"schemaVersion": "0.1.0", "interfaces": []})
assert runtime.action_names() == []
assert features.category_names() == []
assert physics.interfaces() == []