MCPcopy
hub / github.com/hugapi/hug / delete_context

Function delete_context

tests/test_global_context.py:13–15  ·  view source on GitHub ↗
(context, *args, **kwargs)

Source from the content-addressed store, hash-verified

11
12 @hug.delete_context(apply_globally=True)
13 def delete_context(context, *args, **kwargs):
14 assert context == custom_context
15 custom_context["delete"] += 1
16
17 @hug.get(api=hug_api)
18 def made_up_hello():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected