SceneSource
Kind: Class
Domain: Scene and artifacts
Canonical import: from cadflow import SceneSource
Signature
class SceneSource(kind: 'str', source_id: 'str | None' = None, graph_id: 'str | None' = None, artifact_hash: 'str | None' = None, format: 'str | None' = None, artifact_bytes: 'bytes | None' = None, _graph: 'OperationGraph | None' = None, _source_files: "tuple['_EmbeddedSourceFile', ...]" = ()) -> None
Description
SceneSource(kind: 'str', source_id: 'str | None' = None, graph_id: 'str | None' = None, artifact_hash: 'str | None' = None, format: 'str | None' = None, artifact_bytes: 'bytes | None' = None, _graph: 'OperationGraph | None' = None, _source_files: "tuple['_EmbeddedSourceFile', ...]" = ())
Other public imports
from cadflow.scene import SceneSource
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
kind | 'str' | yes | - | Not explicitly described in the source docstring. |
source_id | 'str | None' | no | None | Not explicitly described in the source docstring. |
graph_id | 'str | None' | no | None | Not explicitly described in the source docstring. |
artifact_hash | 'str | None' | no | None | Not explicitly described in the source docstring. |
format | 'str | None' | no | None | Not explicitly described in the source docstring. |
artifact_bytes | 'bytes | None' | no | None | Not explicitly described in the source docstring. |
_graph | 'OperationGraph | None' | no | None | Not explicitly described in the source docstring. |
_source_files | "tuple['_EmbeddedSourceFile', ...]" | no | () | Not explicitly described in the source docstring. |
Returns
Type: None
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Data fields
| Name | Type | Default |
|---|---|---|
kind | 'str' | required |
source_id | 'str | None' | None |
graph_id | 'str | None' | None |
artifact_hash | 'str | None' | None |
format | 'str | None' | None |
artifact_bytes | 'bytes | None' | None |
_graph | 'OperationGraph | None' | None |
_source_files | "tuple['_EmbeddedSourceFile', ...]" | () |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import SceneSource