manager_beastmodes
manager_beastmodes ¶
BeastModes manager for DomoCard.
Provides access to beast mode (calculated field) templates associated with a card.
DomoCard_BeastModesManager
dataclass
¶
DomoCard_BeastModesManager(
parent: DomoEntity,
beast_modes: list[DomoBeastMode] = list(),
)
Bases: DomoSubEntity
Manager for beast modes associated with a DomoCard.
Provides typed access to all beast modes linked to a card.
Usage
bms = await card.BeastModes.get() card.BeastModes.beast_modes # list[DomoBeastMode]
get
async
¶
get(
*, context: RouteContext | None = None, **context_kwargs
) -> list[DomoBeastMode]
Fetch beast modes linked to this card.
Delegates to DomoBeastModes.get_by_card and caches the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context
|
RouteContext | None
|
Optional RouteContext for request configuration |
None
|
**context_kwargs
|
Additional context parameters |
{}
|
Returns:
| Type | Description |
|---|---|
list[DomoBeastMode]
|
List of DomoBeastMode instances linked to this card |
Source code in src/crew_dcs/classes/DomoCard/manager_beastmodes.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | |