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

Function get_system_info

src/api/admin.py:1431–1443  ·  view source on GitHub ↗

Get system information

(token: str = Depends(verify_admin_token))

Source from the content-addressed store, hash-verified

1429 existing.email = email
1430 existing.login_account = email
1431 existing_by_email[email.lower()] = existing
1432 updated += 1
1433 else:
1434 new_token = await token_manager.add_token(
1435 st=st,
1436 project_id=item.project_id,
1437 project_name=item.project_name,
1438 remark=item.remark,
1439 captcha_proxy_url=item.captcha_proxy_url.strip()
1440 if item.captcha_proxy_url is not None
1441 else None,
1442 extension_route_key=item.extension_route_key.strip()
1443 if item.extension_route_key is not None
1444 else None,
1445 image_enabled=item.image_enabled,
1446 video_enabled=item.video_enabled,

Callers

nothing calls this directly

Calls 1

get_system_info_statsMethod · 0.80

Tested by

no test coverage detected