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

Method update

tests/conftest.py:343–348  ·  view source on GitHub ↗
(
            self, user: UserModel, update_dict: dict[str, Any]
        )

Source from the content-addressed store, hash-verified

341 return UserModel(**create_dict)
342
343 async def update(
344 self, user: UserModel, update_dict: dict[str, Any]
345 ) -> UserModel:
346 for field, value in update_dict.items():
347 setattr(user, field, value)
348 return user
349
350 async def delete(self, user: UserModel) -> None:
351 pass

Calls

no outgoing calls

Tested by

no test coverage detected