ayon-core/openpype/lib
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
..
__init__.py removed deprecated functions from openpype lib 2023-02-13 10:51:21 +01:00
applications.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00
attribute_definitions.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00
avalon_context.py removed deprecated functions from openpype lib 2023-02-13 10:51:21 +01:00
connections.py OP-2005 - refactor yanked _requests_get, _requests_post into lib file 2022-04-12 11:44:34 +02:00
dateutils.py move functions from openpype.lib.config to openpype.lib.dateutils 2022-07-26 11:48:24 +02:00
delivery.py marked 'copy_file' as deprecated 2022-08-29 15:20:21 +02:00
env_tools.py removed logic related to env groups 2022-04-20 14:20:33 +02:00
events.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00
execute.py Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-31 22:33:37 +02:00
file_transaction.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00
local_settings.py use 'OpenPypeMongoConnection' from 'openpype.client' 2022-07-18 11:20:14 +02:00
log.py add deprecation warning for PypeLogger and added docstring about deprecation 2022-08-24 15:57:52 +02:00
mongo.py added deprecation warning to functions 2022-07-18 11:40:48 +02:00
openpype_version.py fix how the expected studio version is checked 2022-10-26 11:00:57 +02:00
path_templates.py General: Anatomy templates formatting (#4773) 2023-04-05 15:59:36 +02:00
path_tools.py removed not needed lines 2022-08-31 16:21:23 +02:00
plugin_tools.py removed deprecated functions from openpype lib 2023-02-13 10:51:21 +01:00
profiles_filtering.py OP-2958 - extended logging for profile filtering 2022-04-13 18:21:46 +02:00
profiling.py rename folder 2021-04-01 18:54:46 +02:00
project_backpack.py fix forgotten variables 2022-07-13 09:19:34 +02:00
pype_info.py pype info will also show build version 2022-01-21 11:37:37 +01:00
python_2_comp.py moved python 2 compatibility to openpype.lib 2021-10-01 19:13:59 +02:00
python_module_tools.py Pass module name and set __file__ on module to avoid AttributeErrors saying module has no __file__ attribute 2023-02-22 17:21:37 +01:00
terminal.py Fix coloring of TrayModuleManager output 2022-05-02 23:04:33 +02:00
transcoding.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00
usdlib.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
vendor_bin_utils.py Just some grammar tweaks 2023-03-30 13:59:22 +02:00