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

Method get

fastapi_users/db/base.py:10–12  ·  view source on GitHub ↗

Get a single user by id.

(self, id: ID)

Source from the content-addressed store, hash-verified

8 """Base adapter for retrieving, creating and updating users from a database."""
9
10 async def get(self, id: ID) -> UP | None:
11 """Get a single user by id."""
12 raise NotImplementedError()
13
14 async def get_by_email(self, email: str) -> UP | None:
15 """Get a single user by email."""

Callers 6

_authenticateMethod · 0.45
read_tokenMethod · 0.45
read_tokenMethod · 0.45
read_tokenMethod · 0.45
callbackFunction · 0.45
get_user_or_404Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected