mirror of
https://github.com/ansible/awx.git
synced 2026-04-05 01:59:25 -02:30
fix class method
This commit is contained in:
@@ -175,7 +175,7 @@ class WorkflowJobInheritNodesMixin(object):
|
|||||||
def _get_workflow_job_node_by_id(self, id):
|
def _get_workflow_job_node_by_id(self, id):
|
||||||
return WorkflowJobNode.objects.get(id=id)
|
return WorkflowJobNode.objects.get(id=id)
|
||||||
|
|
||||||
def _get_all_by_type(node, node_type):
|
def _get_all_by_type(self, node, node_type):
|
||||||
return getattr(node, node_type).all()
|
return getattr(node, node_type).all()
|
||||||
|
|
||||||
def inherit_job_template_workflow_nodes(self):
|
def inherit_job_template_workflow_nodes(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user