ayon-core/openpype/tools
Roy Nieterau b05afaa837
Global: Optimize anatomy formatting by only formatting used templates instead (#4784)
* TemplatesDict can create different type of template

* anatomy templates can be formatted on their own

* return objected templates on get item

* '_rootless_path' is public classmethod 'rootless_path_from_result'

* 'AnatomyStringTemplate' expect anatomy templates

* remove key getters

* fix typo 'create_ojected_templates' -> 'create_objected_templates'

* Fix type of argument

* Fix long line

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Use format strict + code cosmetics

* Get template from the formatted data

* Update openpype/plugins/publish/integrate_legacy.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Cosmetics

* Move template obj definition for path up + rename to `path_template_obj`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-04-17 14:53:15 +02:00
..
adobe_webserver replaced avalon imports in tools 2022-04-14 12:32:24 +02:00
assetlinks use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
attribute_defs use right type for signal emit (#4584) 2023-03-07 16:41:35 +01:00
context_dialog use qtpy in context dialog 2022-12-13 17:20:39 +01:00
creator Merge branch 'develop' into release/3.15.x 2023-01-24 12:31:32 +01:00
experimental_tools use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
launcher General: Filter available applications (#4667) 2023-03-21 18:10:09 +01:00
libraryloader use qtpy in library loader 2022-12-21 13:51:46 +01:00
loader add missing variable 'handles' to loader (#4781) 2023-04-05 14:35:07 +02:00
project_manager change minimum frame start/end to '0' (#4719) 2023-03-27 16:06:52 +02:00
publisher Publisher: Plugin active attribute is respected (#4798) 2023-04-11 10:52:09 +02:00
push_to_project Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
pyblish_pype fix custom UserType items 2023-01-16 11:19:42 +01:00
resources use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
sceneinventory Scene inventory: Fix code errors when "not found" entries are found (#4594) 2023-03-21 10:09:36 +01:00
settings Merge branch 'develop' into feature/OP-5529_Settings-Allow-setting-a-size-hint-for-text-fields 2023-04-13 12:08:55 +02:00
standalonepublish Tools: Fix recursive filtering (#4597) 2023-03-13 11:20:59 +01:00
stdout_broker stdbroker is using qtpy instead of Qt 2022-12-13 15:21:00 +01:00
subsetmanager use qtpy in subset manager 2022-12-21 13:48:48 +01:00
texture_copy Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
tray Merge branch 'develop' into release/3.15.x 2022-12-16 12:09:01 +01:00
traypublisher Publisher: Explicit save (#4676) 2023-03-23 12:52:25 +01:00
utils Fix grammar 2023-03-23 00:45:50 +01:00
workfile_template_build use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
workfiles Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
__init__.py rename folder 2021-04-01 18:54:46 +02:00
flickcharm.py use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
repack_version.py hound fixes 2021-11-18 19:06:18 +01:00