fix: swagger 500

This commit is contained in:
feng
2022-10-18 10:43:51 +08:00
parent 4f16c1f92c
commit 1b795791de
2 changed files with 9 additions and 10 deletions

View File

@@ -45,6 +45,9 @@ class AdHocExecution(BaseAnsibleExecution):
)
return runner
def task_display(self):
return str(self.task)
class Meta:
db_table = "ops_adhoc_execution"
get_latest_by = 'date_start'