mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-type-using-dataclasses' into feature/911-new-traits-based-integrator
This commit is contained in:
commit
d77eab4ae7
39 changed files with 1591 additions and 76 deletions
|
|
@ -122,7 +122,7 @@ def test_file_locations_validation() -> None:
|
|||
with pytest.raises(TraitValidationError):
|
||||
file_locations_trait.validate_trait(representation)
|
||||
|
||||
# invalid representation with mutliple file locations but
|
||||
# invalid representation with multiple file locations but
|
||||
# unrelated to either Sequence or Bundle traits
|
||||
representation = Representation(name="test", traits=[
|
||||
FileLocations(file_paths=[
|
||||
|
|
|
|||
|
|
@ -21,18 +21,18 @@ REPRESENTATION_DATA: dict = {
|
|||
"file_path": Path("/path/to/file"),
|
||||
"file_size": 1024,
|
||||
"file_hash": None,
|
||||
"persistent": True,
|
||||
# "persistent": True,
|
||||
},
|
||||
Image.id: {"persistent": True},
|
||||
Image.id: {},
|
||||
PixelBased.id: {
|
||||
"display_window_width": 1920,
|
||||
"display_window_height": 1080,
|
||||
"pixel_aspect_ratio": 1.0,
|
||||
"persistent": True,
|
||||
# "persistent": True,
|
||||
},
|
||||
Planar.id: {
|
||||
"planar_configuration": "RGB",
|
||||
"persistent": True,
|
||||
# "persistent": True,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue