MCPcopy Create free account
hub / github.com/bugy/script-server / get_argument

Function get_argument

src/tests/test_utils.py:470–473  ·  view source on GitHub ↗
(arg_name, default=None)

Source from the content-addressed store, hash-verified

468 cookies.update(previous_request._cookies)
469
470 def get_argument(arg_name, default=None):
471 if arguments is None:
472 return default
473 return arguments.get(arg_name)
474
475 def set_secure_cookie(cookie_name, value):
476 cookies[cookie_name] = f'!SECURE!{value}!!!'

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected