project.object.transform
3 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Get the ProjectTransformSchema of the given ProjectNodeSchema if one exists |
| remove | Remove the ProjectTransformSchema of the given ProjectNodeSchema if one exists |
| set | Add a ProjectTransformSchema to the given ProjectNodeSchema |
get
def get(
*,
node: types.project.object.ProjectNode,
_transaction_id: str | None = None
) -> types.project.object.ProjectTransform | NoneGet the ProjectTransformSchema of the given ProjectNodeSchema if one exists
Returns ProjectTransform | None.
node : ProjectNode
ProjectNodeSchema to get the ProjectTransformSchema of
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
remove
def remove(
*,
node: types.project.object.ProjectNode,
_transaction_id: str | None = None
) -> types.project.object.ProjectTransform | NoneRemove the ProjectTransformSchema of the given ProjectNodeSchema if one exists
Returns the old ProjectTransformSchema if available
Returns ProjectTransform | None.
node : ProjectNode
ProjectNodeSchema to remove the ProjectTransformSchema of
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
set
def set(
*,
node: types.project.object.ProjectNode,
transform: types.project.object.ProjectTransform,
_transaction_id: str | None = None
) -> NoneAdd a ProjectTransformSchema to the given ProjectNodeSchema
Returns None.
node : ProjectNode
ProjectNodeSchema to change the ProjectTransformSchema of
transform : ProjectTransform
The new ProjectTransformSchema
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.