Source code for redditwarp.model_loaders.my_account_SYNC
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Mapping
if TYPE_CHECKING:
from ..client_SYNC import Client
from ..models.my_account_SYNC import MyAccount
[docs]def load_account(d: Mapping[str, Any], client: Client) -> MyAccount:
return MyAccount(d, client)