mypy and pre commit
This commit is contained in:
parent
19583990ab
commit
a27434ef90
|
@ -654,7 +654,7 @@ def process_instance_report_delete(
|
|||
|
||||
|
||||
def service_tasks_show() -> flask.wrappers.Response:
|
||||
"""service_tasks_show."""
|
||||
"""Service_tasks_show."""
|
||||
available_connectors = ServiceTaskService.available_connectors()
|
||||
print(available_connectors)
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ class ServiceTaskDelegate:
|
|||
"""Calls a connector via the configured proxy."""
|
||||
|
||||
def normalize_value(v: Any) -> Any:
|
||||
"""Normalize_value."""
|
||||
value = v["value"]
|
||||
secret_prefix = "secret:" # noqa: S105
|
||||
if value.startswith(secret_prefix):
|
||||
|
|
Loading…
Reference in New Issue