Commit graph

19 commits

Author SHA1 Message Date
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
Jakub Trllo
281f8bc86e handle lowered paths in representation files 2023-01-19 15:40:44 +01:00
Jakub Trllo
813dc26488 clean repre path too 2023-01-19 15:33:32 +01:00
Jakub Trllo
5fa000803a add universal clean path method 2023-01-19 14:36:25 +01:00
Jakub Trllo
bfed990e4f normalize path 2023-01-19 12:38:22 +01:00
iLLiCiTiT
67e10bfd43 fix change of project 2023-01-19 03:43:48 +01:00
Jakub Trllo
9b1b3a600a use comment when is filled 2023-01-17 14:41:34 +01:00
Jakub Trllo
bcbf43479a fix key in event data 2023-01-17 14:16:09 +01:00
Jakub Trllo
2742a36617 remove unused import 2023-01-06 13:39:28 +01:00
Jakub Trllo
6266877bc6 cleanup the processing a little bit 2023-01-06 13:38:02 +01:00
Jakub Trllo
c1e5daa359 use 'DeselectableTreeView' for asset view 2023-01-06 12:18:00 +01:00
Jakub Trllo
23817bdc4c formatting changes 2023-01-06 12:17:46 +01:00
Jakub Trllo
ad99133cf0 added base of pushing 2023-01-05 19:36:49 +01:00
Jakub Trllo
c74a969ae4 added ability to submit integration 2023-01-05 19:26:31 +01:00
Jakub Trllo
ae52289e13 filter library projects 2023-01-05 18:15:24 +01:00
Jakub Trllo
3eed7b8de0 added app definition for push to project 2023-01-05 18:09:00 +01:00
Jakub Trllo
3650ac489a small cleanup 2023-01-05 17:07:20 +01:00
Jakub Trllo
4762ff30e3 implemented rest of integration logic 2023-01-05 15:42:39 +01:00
Jakub Trllo
6f3059050f moved content to different subfolder 2023-01-05 10:25:57 +01:00