async def get_by_oauth_account(self, oauth: str, account_id: str) -> Optional[UD]:
    try:
        query = self.model.get(oauth_accounts__oauth_name=oauth, oauth_accounts__account_id=account_id).prefetch_related('oauth_accounts')
        user = (await query)
        user_dict = (await user.to_dict())
        return self.user_db_model(**user_dict)
    except DoesNotExist:
        return None
async def get_by_oauth_account(self, oauth: str, account_id: str) -> Optional[UD]:
    try:
        query = self.model.get(oauth_accounts__oauth_name=oauth, oauth_accounts__account_id=account_id).prefetch_related('oauth_accounts')
        user = (await query)
        user_dict = (await user.to_dict())
        return self.user_db_model(**user_dict)
    except DoesNotExist:
        return None