MCPcopy Create free account
hub / github.com/oauthlib/oauthlib / set_debug

Function set_debug

oauthlib/__init__.py:21–27  ·  view source on GitHub ↗

Set value of debug flag :param debug_val: Value to set. Must be a bool value.

(debug_val)

Source from the content-addressed store, hash-verified

19_DEBUG = False
20
21def set_debug(debug_val):
22 """Set value of debug flag
23
24 :param debug_val: Value to set. Must be a bool value.
25 """
26 global _DEBUG # noqa: PLW0603
27 _DEBUG = debug_val
28
29def get_debug():
30 """Get debug mode value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…