meta
Metadata traits.
IntendedUse dataclass
Bases: TraitBase
Intended use of the representation.
This trait describes the intended use of the representation. It can be used in cases where the other traits are not enough to describe the intended use. For example, a txt file with tracking points can be used as a corner pin in After Effect but not in Nuke.
Attributes:
| Name | Type | Description |
|---|---|---|
use | str | Intended use description. |
Source code in client/ayon_core/pipeline/traits/meta.py
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
KeepOriginalLocation dataclass
Bases: TraitBase
Keep files in its original location.
Note
This is not a persistent trait.
Source code in client/ayon_core/pipeline/traits/meta.py
86 87 88 89 90 91 92 93 94 95 96 97 | |
KeepOriginalName dataclass
Bases: TraitBase
Keep files in its original name.
Note
This is not a persistent trait.
Source code in client/ayon_core/pipeline/traits/meta.py
100 101 102 103 104 105 106 107 108 109 110 111 | |
SourceApplication dataclass
Bases: TraitBase
Metadata about the source (producing) application.
This can be useful in cases where this information is needed, but it cannot be determined from other means - like .txt files used for various motion tracking applications that must be interpreted by the loader.
Note that this is not really connected to any logic in ayon-applications addon.
Attributes:
| Name | Type | Description |
|---|---|---|
application | str | Application name. |
variant | str | Application variant. |
version | str | Application version. |
platform | str | Platform name (Windows, darwin, etc.). |
host_name | str | AYON host name if applicable. |
Source code in client/ayon_core/pipeline/traits/meta.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
Tagged dataclass
Bases: TraitBase
Tagged trait model.
This trait can hold a list of tags.
Example::
Tagged(tags=["tag1", "tag2"])
Attributes:
| Name | Type | Description |
|---|---|---|
name | str | Trait name. |
description | str | Trait description. |
id | str | id should be a namespaced trait name with version |
tags | List[str] | Tags. |
Source code in client/ayon_core/pipeline/traits/meta.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
TemplatePath dataclass
Bases: TraitBase
TemplatePath trait model.
This model represents a template path with formatting data. Template path can be an Anatomy template and data is used to format it.
Example::
TemplatePath(template="path/{key}/file", data={"key": "to"})
Attributes:
| Name | Type | Description |
|---|---|---|
name | str | Trait name. |
description | str | Trait description. |
id | str | id should be a namespaced trait name with version |
template | str | Template path. |
data | dict[str] | Formatting data. |
Source code in client/ayon_core/pipeline/traits/meta.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
Variant dataclass
Bases: TraitBase
Variant trait model.
This model represents a variant of the representation.
Example::
Variant(variant="high")
Variant(variant="prores444)
Attributes:
| Name | Type | Description |
|---|---|---|
name | str | Trait name. |
description | str | Trait description. |
id | str | id should be a namespaced trait name with version |
variant | str | Variant name. |
Source code in client/ayon_core/pipeline/traits/meta.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |