Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

[QUAD] Enhancement: Add action in the Workfile Template Builder #6324

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ccaillot
Copy link

No description provided.

@@ -1037,15 +1037,16 @@ def collect_plugin_paths(self):

Returns:
dict: Output is dictionary with keys "publish", "create", "load",
"actions" and "inventory" each containing list of paths.
"actions", "inventory", "builder" each containing a list of paths.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

@@ -0,0 +1,67 @@
import os
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'os' imported but unused

return get_representation_path(representation, root)


def get_representation_path(representation, root=None, dbcon=None):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'get_representation_path' is too complex (31)


self.update_builder_action(family_widget, builder_widget)
family_widget._input_widget.currentIndexChanged.connect(
lambda index, family=family_widget, builder=builder_widget: self.update_builder_action(family, builder)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (115 > 79 characters)

def update_builder_action(family_widget, builder_widget):
"""Update builder action widget by family widget value"""
builder_widget._input_widget.clear()
actions_by_family = get_actions_by_family(family_widget.current_value())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

@ynbot ynbot added type: enhancement Enhancements to existing functionality size/M Denotes a PR changes 500-999 lines, ignoring general files host: Maya labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya size/M Denotes a PR changes 500-999 lines, ignoring general files type: enhancement Enhancements to existing functionality
Projects
Status: Pending Review
Development

Successfully merging this pull request may close these issues.

2 participants