Remove useless usage of templating in SWF responses implementation
This commit is contained in:
parent
33c478bc62
commit
168f61c6a8
@ -76,8 +76,7 @@ class SWFResponse(BaseResponse):
|
|||||||
name = _type["name"]
|
name = _type["name"]
|
||||||
version = _type["version"]
|
version = _type["version"]
|
||||||
self.swf_backend.deprecate_type(kind, domain, name, version)
|
self.swf_backend.deprecate_type(kind, domain, name, version)
|
||||||
template = self.response_template("")
|
return ""
|
||||||
return template.render()
|
|
||||||
|
|
||||||
# TODO: implement pagination
|
# TODO: implement pagination
|
||||||
def list_domains(self):
|
def list_domains(self):
|
||||||
@ -136,8 +135,7 @@ class SWFResponse(BaseResponse):
|
|||||||
default_task_start_to_close_timeout=default_task_start_to_close_timeout,
|
default_task_start_to_close_timeout=default_task_start_to_close_timeout,
|
||||||
description=description,
|
description=description,
|
||||||
)
|
)
|
||||||
template = self.response_template("")
|
return ""
|
||||||
return template.render()
|
|
||||||
|
|
||||||
def deprecate_activity_type(self):
|
def deprecate_activity_type(self):
|
||||||
return self._deprecate_type("activity")
|
return self._deprecate_type("activity")
|
||||||
@ -171,8 +169,7 @@ class SWFResponse(BaseResponse):
|
|||||||
default_execution_start_to_close_timeout=default_execution_start_to_close_timeout,
|
default_execution_start_to_close_timeout=default_execution_start_to_close_timeout,
|
||||||
description=description,
|
description=description,
|
||||||
)
|
)
|
||||||
template = self.response_template("")
|
return ""
|
||||||
return template.render()
|
|
||||||
|
|
||||||
def deprecate_workflow_type(self):
|
def deprecate_workflow_type(self):
|
||||||
return self._deprecate_type("workflow")
|
return self._deprecate_type("workflow")
|
||||||
|
Loading…
Reference in New Issue
Block a user