MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / _sample_account

Function _sample_account

packages/node/tests/protocol/test_debug.py:22–29  ·  view source on GitHub ↗
(account_id: str, name: str)

Source from the content-addressed store, hash-verified

20
21
22def _sample_account(account_id: str, name: str) -> protocol_models.Account:
23 return protocol_models.Account(
24 id=account_id,
25 name=name,
26 is_simulated=False,
27 created_at=_SAMPLE_TIMESTAMP,
28 updated_at=_SAMPLE_TIMESTAMP,
29 )
30
31
32def _empty_accounts_state() -> protocol_models.AccountsState:

Calls

no outgoing calls

Tested by

no test coverage detected