MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / AdminConfig

Class AdminConfig

src/core/models.py:127–134  ·  view source on GitHub ↗

Admin configuration

Source from the content-addressed store, hash-verified

125
126
127class AdminConfig(BaseModel):
128 """Admin configuration"""
129
130 id: int = 1
131 username: str
132 password: str
133 api_key: str
134 error_ban_threshold: int = 3 # Auto-disable token after N consecutive errors
135
136
137class ProxyConfig(BaseModel):

Callers 1

get_admin_configMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected