MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / decorator

Function decorator

app/api.py:52–54  ·  view source on GitHub ↗
(view_func)

Source from the content-addressed store, hash-verified

50def _required_auth_level_decorator(required_auth_level):
51
52 def decorator(view_func):
53 view_func.required_auth_level = required_auth_level
54 return view_func
55
56 return decorator
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected