MCPcopy Create free account
hub / github.com/ZyphrZero/z.ai2api_python / _with_hx_trigger

Function _with_hx_trigger

app/admin/api.py:144–146  ·  view source on GitHub ↗
(response: HTMLResponse, event_name: str)

Source from the content-addressed store, hash-verified

142
143
144def _with_hx_trigger(response: HTMLResponse, event_name: str) -> HTMLResponse:
145 response.headers["HX-Trigger"] = event_name
146 return response
147
148
149def _get_int_query_param(

Callers 3

save_configFunction · 0.85
save_config_sourceFunction · 0.85
reset_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected