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

Class PluginConfig

src/core/models.py:218–225  ·  view source on GitHub ↗

Plugin connection configuration

Source from the content-addressed store, hash-verified

216
217
218class PluginConfig(BaseModel):
219 """Plugin connection configuration"""
220
221 id: int = 1
222 connection_token: str = "" # 插件连接token
223 auto_enable_on_update: bool = True # 更新token时自动启用(默认开启)
224 created_at: Optional[datetime] = None
225 updated_at: Optional[datetime] = None
226
227
228class TokenRefreshConfig(BaseModel):

Callers 1

get_plugin_configMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected