lineage
lineage ¶
Lineage handler for Card entities.
DomoLineageLink_Card
dataclass
¶
DomoLineageLink_Card(
auth: DomoAuth,
id: str,
entity: Any,
_type: str | None = None,
dependencies: list[DomoLineage_Link] = list(),
dependents: list[DomoLineage_Link] = list(),
)
Bases: DomoLineage_Link
get_entity
async
¶
get_entity(
debug_api: bool = False,
session: AsyncClient | None = None,
*,
context=None
)
Get the entity associated with this lineage link.
Source code in src/crew_dcs/classes/DomoCard/lineage.py
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | |
DomoLineage_Card
dataclass
¶
DomoLineage_Card(
auth: DomoAuth,
parent: Any = None,
lineage: list[DomoLineage_Link] = list(),
immediate_dependencies: list[DomoLineage_Link] = list(),
immediate_dependents: list[DomoLineage_Link] = list(),
downstream_lineage: list[DomoLineage_Link] = list(),
)
Bases: DomoLineage
Lineage handler for card entities.
Overrides _resolve_publisher_entity to handle indirect publication:
cards that are published as part of a page rather than directly.
validate_datasources ¶
validate_datasources() -> dict[str, Any]
Validate that this card has at most one datasource.
CustomApp/EnterpriseApp cards (identified by having a datastore_id) are allowed to have multiple datasources. Regular cards should have at most one.
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Dictionary with validation results: |
dict[str, Any]
|
|
dict[str, Any]
|
|
dict[str, Any]
|
|
dict[str, Any]
|
|
Source code in src/crew_dcs/classes/DomoCard/lineage.py
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | |