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

Method save_task

app/services/account_state.py:342–352  ·  view source on GitHub ↗
(self, task: PaymentTaskRecord)

Source from the content-addressed store, hash-verified

340 last_bootstrap_at=account.last_bootstrap_at,
341 created_at=account.created_at,
342 updated_at=account.updated_at,
343 )
344
345 def set_account_status(
346 self,
347 account_id: str,
348 *,
349 status: str,
350 message: str = "",
351 ) -> AccountRecord:
352 account = self.get_account(account_id)
353 account.account_status = status.strip() or "unchecked"
354 account.account_status_message = message.strip()
355 account.account_checked_at = utc_now_iso()

Callers 2

create_qrMethod · 0.80
check_paymentMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected