MCPcopy Index your code
hub / github.com/fastapi-users/fastapi-users / add_oauth_account

Method add_oauth_account

tests/conftest.py:423–428  ·  view source on GitHub ↗
(
            self, user: UserOAuthModel, create_dict: dict[str, Any]
        )

Source from the content-addressed store, hash-verified

421 pass
422
423 async def add_oauth_account(
424 self, user: UserOAuthModel, create_dict: dict[str, Any]
425 ) -> UserOAuthModel:
426 oauth_account = OAuthAccountModel(**create_dict)
427 user.oauth_accounts.append(oauth_account)
428 return user
429
430 async def update_oauth_account( # type: ignore
431 self,

Callers 1

Calls 1

OAuthAccountModelClass · 0.85

Tested by

no test coverage detected