Skip to content

Commit

Permalink
Merge pull request #768 from ynput/bugfix/fix_argument_in_populate_cr…
Browse files Browse the repository at this point in the history
…eate_placeholder

Templated Workfile: fix argument in populate create placeholder
  • Loading branch information
iLLiCiTiT authored Jul 9, 2024
2 parents 6cc5132 + 0fd69e2 commit 2082738
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/ayon_core/pipeline/workfile/workfile_template_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Build templates are manually prepared using plugin definitions which create
placeholders inside the template which are populated on import.
This approach is very explicit to achive very specific build logic that can be
This approach is very explicit to achieve very specific build logic that can be
targeted by task types and names.
Placeholders are created using placeholder plugins which should care about
Expand Down Expand Up @@ -87,7 +87,7 @@ class AbstractTemplateBuilder(object):
"""Abstraction of Template Builder.
Builder cares about context, shared data, cache, discovery of plugins
and trigger logic. Provides public api for host workfile build systen.
and trigger logic. Provides public api for host workfile build system.
Rest of logic is based on plugins that care about collection and creation
of placeholder items.
Expand Down Expand Up @@ -806,7 +806,7 @@ def _get_build_profiles(self):
)

def get_template_preset(self):
"""Unified way how template preset is received usign settings.
"""Unified way how template preset is received using settings.
Method is dependent on '_get_build_profiles' which should return filter
profiles to resolve path to a template. Default implementation looks
Expand Down Expand Up @@ -1427,7 +1427,7 @@ def get_load_plugin_options(self, options=None):
placeholder='{"camera":"persp", "lights":True}',
tooltip=(
"Loader"
"\nDefines a dictionnary of arguments used to load assets."
"\nDefines a dictionary of arguments used to load assets."
"\nUseable arguments depend on current placeholder Loader."
"\nField should be a valid python dict."
" Anything else will be ignored."
Expand Down Expand Up @@ -1472,7 +1472,7 @@ def get_load_plugin_options(self, options=None):
]

def parse_loader_args(self, loader_args):
"""Helper function to parse string of loader arugments.
"""Helper function to parse string of loader arguments.
Empty dictionary is returned if conversion fails.
Expand Down Expand Up @@ -1872,7 +1872,7 @@ def populate_create_placeholder(self, placeholder, pre_create_data=None):
creator_plugin.identifier,
create_variant,
folder_entity,
task_name=task_name,
task_entity,
pre_create_data=pre_create_data
)

Expand Down

0 comments on commit 2082738

Please sign in to comment.