MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / load_session

Method load_session

app/services/account_state.py:315–324  ·  view source on GitHub ↗
(self, account_id: str)

Source from the content-addressed store, hash-verified

313 return AccountDetailResponse(
314 account=self.to_public_account(account),
315 session=session,
316 tasks=tasks,
317 )
318
319 def to_public_account(self, account: AccountRecord) -> PublicAccountRecord:
320 return PublicAccountRecord(
321 id=account.id,
322 label=account.label,
323 org_id=account.org_id,
324 project_id=account.project_id,
325 invitation_code=account.invitation_code,
326 proxy_url=account.proxy_url,
327 user_agent=account.user_agent,

Callers 15

import_accountMethod · 0.95
update_preferencesMethod · 0.95
clear_payment_cacheMethod · 0.95
get_account_detailMethod · 0.95
clear_ticket_poolMethod · 0.95
load_productsMethod · 0.80
save_manual_captchaMethod · 0.80
submit_captcha_verifyMethod · 0.80
solve_captchaMethod · 0.80

Calls 5

_session_pathMethod · 0.95
readMethod · 0.95
JsonFileStoreClass · 0.90
AccountSessionStateClass · 0.90
utc_now_isoFunction · 0.85

Tested by

no test coverage detected