manager_dataset
manager_dataset ¶
Dataset manager for DomoCard.
DomoCard_DatasetsManager
dataclass
¶
DomoCard_DatasetsManager(
auth: DomoAuth,
parent: DomoCard_Default = None,
datasets: list[Any] = list(),
)
Bases: DomoManager
Manager for datasets associated with a DomoCard.
Provides access to all datasets used by a card through its datasources. Inherits from DomoManager to follow standard entity manager patterns.
get
async
¶
get(
debug_api: bool = False,
session: AsyncClient | None = None,
*,
context: RouteContext | None = None,
parent_auth_retrieval_fn: (
Callable[[str], Any] | None
) = None,
**context_kwargs
) -> list[Any]
Get all datasets associated with this card.
This retrieves datasets from the card's datasources and returns DomoDataset instances for each one.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
debug_api
|
bool
|
Enable API debugging |
False
|
session
|
AsyncClient | None
|
Optional httpx session for request reuse |
None
|
Returns:
| Type | Description |
|---|---|
list[Any]
|
list[DomoDataset]: List of dataset objects associated with the card |
Source code in src/crew_dcs/classes/DomoCard/manager_dataset.py
35 36 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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |