ayon-core/openpype/plugins/publish
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
..
help Add global unique subsets validator 2023-01-18 00:11:02 +01:00
cleanup.py Merge develop 2023-03-29 14:46:41 +02:00
cleanup_explicit.py Fix typos 2023-01-18 10:23:11 +01:00
cleanup_farm.py Merge develop 2023-03-29 14:46:41 +02:00
collect_anatomy_context_data.py
collect_anatomy_instance_data.py Do not automatically force populate instance data with frame ranges of the asset 2023-01-26 16:42:52 +01:00
collect_anatomy_object.py
collect_audio.py resolve conflicts 2022-12-09 19:21:17 +08:00
collect_cleanup_keys.py
collect_comment.py Merge develop 2023-03-29 14:46:41 +02:00
collect_context_entities.py Remove "handles" backwards compatibility 2023-03-29 23:57:35 +02:00
collect_context_label.py
collect_current_context.py
collect_current_pype_user.py
collect_current_shell_file.py
collect_custom_staging_dir.py Improve speed of Collect Custom Staging Directory 2023-04-03 17:44:21 +02:00
collect_datetime_data.py
collect_frames_fix.py OP-4617 - added rewrite_version toggle 2023-01-24 17:08:02 +01:00
collect_from_create_context.py fix context collection from create context 2023-02-09 12:04:06 +01:00
collect_hierarchy.py
collect_host_name.py
collect_input_representations_to_versions.py General: Input representation ids are not ObjectIds (#4576) 2023-03-07 13:45:49 +01:00
collect_machine_name.py
collect_modules.py
collect_otio_frame_ranges.py
collect_otio_review.py make label key optional on instance.data 2023-04-05 11:39:28 +02:00
collect_otio_subset_resources.py anatomy data from instance rather then context 2023-02-22 11:55:08 +01:00
collect_rendered_files.py
collect_resources_path.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
collect_scene_loaded_versions.py
collect_scene_version.py
collect_settings.py
collect_shell_workspace.py
collect_source_for_source.py OP-4504 - remove check for existence 2022-12-15 16:37:45 +01:00
collect_time.py
extract_burnin.py Merge branch 'develop' into houdini_opengl 2023-04-12 14:28:49 +02:00
extract_color_transcode.py Fix - store target_colorspace as new colorspace (#4544) 2023-02-28 16:33:18 +01:00
extract_colorspace_data.py Global: refactory colormanaged exctractor into plugin mixin 2023-02-28 14:53:49 +01:00
extract_hierarchy_avalon.py Editorial: Fix tasks removal (#4558) 2023-03-06 11:00:02 +01:00
extract_otio_audio_tracks.py
extract_otio_file.py
extract_otio_review.py global: review otio with improved jpg to jpg quality 2023-01-16 22:01:00 +01:00
extract_otio_trimming_video.py
extract_review.py Merge branch 'develop' into houdini_opengl 2023-03-31 22:00:26 +02:00
extract_review_slate.py
extract_scanline_exr.py
extract_thumbnail.py Merge pull request #4263 from ynput/enhancement/online-family-improvements 2023-01-13 16:51:24 +01:00
extract_thumbnail_from_source.py OP-4504 - added '_thumb' suffix to thumbnail 2022-12-15 16:29:56 +01:00
extract_trim_video_audio.py
integrate.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
integrate_hero_version.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
integrate_inputlinks.py
integrate_legacy.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
integrate_resources_path.py
integrate_subset_group.py
integrate_thumbnail.py Global: Optimize anatomy formatting by only formatting used templates instead (#4784) 2023-04-17 14:53:15 +02:00
preintegrate_thumbnail_representation.py Merge develop 2023-03-29 14:46:41 +02:00
repair_unicode_strings.py
validate_asset_docs.py
validate_containers.py Clarify label for new publisher "options" 2023-01-18 00:28:32 +01:00
validate_editorial_asset_name.py
validate_file_saved.py
validate_filesequences.py
validate_intent.py
validate_publish_dir.py OP-4504 - changed to XMLPublishError 2022-12-15 13:15:14 +01:00
validate_resources.py
validate_sequence_frames.py Merge remote-tracking branch 'origin/bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name' into bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name 2023-03-30 13:43:11 +02:00
validate_unique_subsets.py Add global unique subsets validator 2023-01-18 00:11:02 +01:00
validate_version.py Fix grammar 2023-01-18 01:05:11 +01:00