(self, account_id: str)
| 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, |
no test coverage detected