mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 05:59:28 -02:30
style update to can_start_without_user_input
This commit is contained in:
@@ -294,9 +294,9 @@ class JobTemplate(UnifiedJobTemplate, JobOptions, ResourceMixin):
|
|||||||
Return whether job template can be used to start a new job without
|
Return whether job template can be used to start a new job without
|
||||||
requiring any user input.
|
requiring any user input.
|
||||||
'''
|
'''
|
||||||
return ((not self.resources_needed_to_start) and
|
return (not self.resources_needed_to_start and
|
||||||
(not self.passwords_needed_to_start) and
|
not self.passwords_needed_to_start and
|
||||||
(not self.variables_needed_to_start))
|
not self.variables_needed_to_start)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def variables_needed_to_start(self):
|
def variables_needed_to_start(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user