ayon-core/openpype/pipeline
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
..
create remove UnknownDef attributes on pop from attributes value (#4776) 2023-04-05 11:06:43 +02:00
farm fixing module file and list indexing 2022-04-13 13:38:05 +02:00
load changed info to debug 2023-02-28 11:30:39 +01:00
publish Publisher: Plugin active attribute is respected (#4798) 2023-04-11 10:52:09 +02:00
workfile Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
__init__.py added context getter functions to pipeline init 2023-02-01 12:38:54 +01:00
actions.py removed debug prints 2022-03-24 13:31:45 +01:00
anatomy.py General: Anatomy templates formatting (#4773) 2023-04-05 15:59:36 +02:00
colorspace.py Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-31 22:33:37 +02:00
constants.py moved host workfile extensions 2022-03-18 16:08:15 +01:00
context_tools.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
delivery.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
editorial.py editorial fixing handles to int and adding speed attribute 2022-08-19 16:15:16 +02:00
legacy_io.py Merge branch 'develop' into feature/OP-3315_Host-implementation-defined-with-class 2022-06-22 18:00:04 +02:00
mongodb.py use 'OpenPypeMongoConnection' from 'openpype.client' 2022-07-18 11:20:14 +02:00
plugin_discover.py public 'discover' function can expect all possible arguments 2023-02-16 09:52:39 +01:00
project_folders.py skip folders creation if are not set 2022-08-31 16:15:28 +02:00
schema.py removed usage of AVALON_SCHEMA 2022-04-19 18:05:48 +02:00
tempdir.py removing python3 only code 2023-02-15 12:26:50 +01:00
template_data.py fix variable name 2022-09-07 12:11:06 +02:00
thumbnail.py use project anatomy if needed 2022-08-29 13:36:58 +02:00