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