Skip to content

structures

PassingDataValue

Bases: TypedDict

JSON-serializable passing-data payload item.

This class encapsulates values that need to be passed to the traypublisher publishing context. Data values are mapped from settings column configurations to instances of this object for inclusion in version, representation, or instance data.

Source code in client/ayon_traypublisher/api/structures.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
class PassingDataValue(TypedDict):
    """JSON-serializable passing-data payload item.

    This class encapsulates values that need to be passed to the traypublisher
    publishing context. Data values are mapped from settings column
    configurations to instances of this object for inclusion in version,
    representation, or instance data.
    """

    name: str
    value: Any
    data_type: DataType