MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / __init__

Method __init__

api_utils/server_state.py:44–46  ·  view source on GitHub ↗

Initialize all state variables with default values.

(self)

Source from the content-addressed store, hash-verified

42 """
43
44 def __init__(self) -> None:
45 """Initialize all state variables with default values."""
46 self.reset()
47
48 def reset(self) -> None:
49 """Reset all state to initial values. Useful for testing."""

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected