Ondřej Samohel
cf195c44a6
♻️ refactor to return FileLocation again
2024-12-01 23:00:44 +01:00
Ondřej Samohel
cc543fb6a2
🐛 return Path instead of FileLocation
2024-12-01 22:24:15 +01:00
Ondřej Samohel
595a3546f3
🎨 add helpers for getting files
2024-12-01 16:11:23 +01:00
Ondřej Samohel
f4169769ac
♻️ expose trait validation error
2024-12-01 14:51:47 +01:00
Ondřej Samohel
cf3242bbda
🔥 revert the assumption that FileLocations relates to Bundles`
2024-11-30 01:39:45 +01:00
Ondřej Samohel
5c8d11198a
🐶 fix indent
2024-11-30 01:26:30 +01:00
Ondřej Samohel
c9d4716dfa
🎨 add UDIM to FileLocations relationships
2024-11-30 01:26:15 +01:00
Ondřej Samohel
4948cddb58
🎨 FileLocations only with Sequence or Bundle
2024-11-30 01:11:29 +01:00
Ondřej Samohel
90d8df89d3
🐶 add missing docstring
2024-11-30 01:11:06 +01:00
Ondřej Samohel
799b0bca85
⚗️ split test to more files
2024-11-30 00:49:54 +01:00
Ondřej Samohel
5e0509ca48
🎨 enhance range validations
2024-11-30 00:49:33 +01:00
Ondřej Samohel
265b1816e8
♻️ simplify equality check and validation
2024-11-30 00:49:04 +01:00
Ondřej Samohel
60f10feeee
🎨 add dict-like behavior to Representation
...
that and some tests
2024-11-29 11:28:19 +01:00
Ondřej Samohel
32d82e47e6
🎨 add persistent property to trait
...
persistent drives if the trait should be integrated or not. Difference between Persistent trait and persistent attribute is that the trait drives the lifecycle of the representation but the attribute drives lifecycle of trait.
2024-11-29 11:27:41 +01:00
Ondřej Samohel
97fe8ac294
🎨 handle frame specs
2024-11-26 23:30:23 +01:00
Ondřej Samohel
dc26079065
🐛 handle ABCMeta.__issubclass__() bug?
...
issubclass in ABCMeta doesn't handle `GenericAlias` correctly
2024-11-26 23:29:39 +01:00
Ondřej Samohel
13e56429ba
🎨 add get padding from files
2024-11-22 17:42:45 +01:00
Ondřej Samohel
fc30b854f0
🐶 remove unused import
2024-11-13 14:11:25 +01:00
Ondřej Samohel
794160f8e3
🐶 fix ruff issues
2024-11-13 14:10:01 +01:00
Ondřej Samohel
b64e0340d9
♻️ refactor to remove circular imports
...
add `FileLocations` validations
2024-11-12 23:40:59 +01:00
Ondřej Samohel
f589cb933c
♻️ change validations
...
validation on trait are now raising exception instead of returning just bool, to pass validation error. Also added `validate()`to representation - this runs it on all traits.
2024-11-12 17:12:54 +01:00
Ondřej Samohel
d228527628
🎨 add file locations
2024-11-11 16:30:11 +01:00
Ondřej Samohel
e4377e8f07
♻️ raise exception if trait not found instead of returning None
...
Raising exception is more pythonic than returning just None. Also some changes in return type annotations.
2024-11-08 17:49:11 +01:00
Ondřej Samohel
db5d997ce7
🎨 add get_versionless_id() helper (and test)
2024-11-08 09:46:47 +01:00
Ondřej Samohel
b9e430e2a5
♻️ make fields optional, fps data type
2024-11-08 09:46:04 +01:00
Ondřej Samohel
4d31c5ee6e
🔥 remove FrameRanged field aliases
2024-11-06 17:38:35 +01:00
Ondřej Samohel
deae44dbc1
♻️ fix tests and trait version
2024-11-06 15:44:42 +01:00
Ondřej Samohel
9e7dac2ba5
♻️ switch ruff to official GH action
2024-11-05 13:46:49 +01:00
Ondřej Samohel
eb04f242c9
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-type-using-dataclasses' into feature/909-define-basic-trait-type-using-dataclasses
2024-11-05 09:51:07 +01:00
Ondřej Samohel
fbeef7f7c2
🐶 run ruff action only on changed files
2024-11-05 09:50:49 +01:00
Ondřej Samohel
2b05c5209c
Merge branch 'develop' into feature/909-define-basic-trait-type-using-dataclasses
2024-11-04 21:21:03 +01:00
Ondřej Samohel
b0bd488e4c
♻️ add traits and docstrings
...
sync traits declared in #909
2024-11-04 19:22:02 +01:00
Ondřej Samohel
ba49b65920
🔥 remove integrator from this branch
2024-11-04 16:19:31 +01:00
Ondřej Samohel
ba3497b7bd
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-type-using-dataclasses' into feature/909-define-basic-trait-type-using-dataclasses
2024-11-04 16:14:14 +01:00
Ondřej Samohel
8698c815d1
:burn: remove unnecessary init files
2024-11-04 16:14:02 +01:00
Ynbot
348614745a
[Automated] Update version in package.py for develop
2024-11-01 14:43:31 +00:00
Ynbot
ead5d9963a
[Automated] Add generated package files to main
2024-11-01 14:42:52 +00:00
Jakub Trllo
1d053c6b7c
action upload to ynput cloud
2024-11-01 15:40:04 +01:00
Roy Nieterau
ed016190ae
Merge pull request #981 from BigRoy/chore/remove_logger_mongo_process_id
...
Remove `Logger.mongo_process_id`
2024-11-01 12:45:43 +01:00
Roy Nieterau
8c87a66cfe
Remove unused import
2024-11-01 12:45:13 +01:00
Roy Nieterau
e724bc00dd
Merge branch 'develop' into chore/remove_logger_mongo_process_id
2024-11-01 12:44:15 +01:00
Roy Nieterau
f7081db899
Merge pull request #980 from BigRoy/chore/remove_py2_compatibility_cleanup
...
Remove Python 2 compatibility code
2024-11-01 12:44:06 +01:00
Roy Nieterau
a02954d908
Fix sorting
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2024-10-31 23:19:23 +01:00
Roy Nieterau
df9821f928
Fix typo
2024-10-31 20:31:21 +01:00
Roy Nieterau
d4ace0706c
Remove unused import
2024-10-31 20:30:53 +01:00
Roy Nieterau
01bd1594f5
Remove condition that was moved up
2024-10-31 20:29:31 +01:00
Roy Nieterau
300e086c8d
Update client/ayon_core/lib/log.py
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2024-10-31 20:28:59 +01:00
Roy Nieterau
9343e3cca9
Remove Logger.mongo_process_id
2024-10-31 20:20:27 +01:00
Roy Nieterau
9f9c03179a
Fix enabled check + fix docstrings
2024-10-31 20:16:16 +01:00
Roy Nieterau
0a970abed6
Remove Python 2 code. unicode does not exist in Py3+
2024-10-31 20:11:52 +01:00