pipeline
defer(callable, timeout=0)
Defer a callable to the next event loop.
Source code in client/ayon_silhouette/api/pipeline.py
61 62 63 | |
iter_containers(project=None, session=None)
Yield all source objects in the active project with AYON property AYON container ID
Source code in client/ayon_silhouette/api/pipeline.py
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 | |
iter_instances(session=None)
Yield all objects in the active session that have 'id' attribute set matching an AYON container ID
Source code in client/ayon_silhouette/api/pipeline.py
416 417 418 419 420 421 422 423 424 425 426 427 428 429 | |
parse_container(source, project=None, session=None)
Return the container node's full container data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source | Source | Node | A Silhouette source or node. | required |
project | Optional[Project] | Project related to the source item or node so that we can track it back to the project. | None |
session | Optional[Session] | Session related to the source item or node so that we can track it back to the session. | None |
Returns:
| Type | Description |
|---|---|
| dict[str, Any]: The container schema data for this container node. |
Source code in client/ayon_silhouette/api/pipeline.py
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 | |