All docs
Engine·
method
Engine.get
fetches a previously added entity by name
Python
get(name: str) -> Entity | None
Returns Entity — the entity with that name, or None if none matches
Parameters#
| name | type | default | description |
|---|---|---|---|
name |
str |
— | the entity's name |
Example#
Python
sales = engine.get("sales")
if sales is not None:
engine.run(sales)
Notes#
Resolved by scanning the live entity list, so it always reflects current names — an in-session rename is honoured with no stale index. Duplicate names resolve to the last entity added.
See also#
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown