pipeline
defer(callable, timeout=0)
Defer a callable to the next event loop.
Source code in client/ayon_silhouette/api/pipeline.py
54 55 56 |
|
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
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
|
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
377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
|
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
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
|