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
Roy Nieterau
eb561dd371
Remove os.link compatibility for Windows. Support for Windows exists since Py 3.2
...
See: https://docs.python.org/3/library/os.html#os.link
2024-10-31 20:07:31 +01:00
Ondřej Samohel
282edd9695
Update client/ayon_core/pipeline/traits/time.py
...
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2024-10-31 18:36:15 +01:00
Jakub Trllo
7bfeed96e2
Merge pull request #967 from ynput/enhancement/get-instances-task-type
...
Create Context: Helper function to get entities
2024-10-31 12:33:20 +01:00
Jakub Trllo
b4009b718a
discard None from folder paths
2024-10-30 17:23:15 +01:00
Jakub Trllo
ce4e8a1b04
handle empty paths
2024-10-30 17:22:47 +01:00
Jakub Trllo
d860919b22
remove unnecessary check
2024-10-30 17:21:31 +01:00
Jakub Trllo
31c37efce2
use single variable to cache folders
2024-10-30 17:18:43 +01:00
Jakub Trllo
07ecd2e8ba
Merge branch 'develop' into enhancement/get-instances-task-type
2024-10-30 16:13:34 +01:00
Jakub Trllo
f48425dd47
better variable name
2024-10-30 16:03:00 +01:00
Jakub Trllo
0c64785f27
fix mapping to folder path
2024-10-30 16:02:52 +01:00
Jakub Trllo
070d3a5d84
Merge pull request #978 from ynput/bugfix/delivery-use-current-anatomy-roots
...
Delivery: Use current roots during delivery
2024-10-30 15:26:18 +01:00
Jakub Trllo
e4d0d3dfb9
safe pop of root
2024-10-30 14:31:22 +01:00