We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969ab9f commit 4d91da1Copy full SHA for 4d91da1
fastapi_users_db_dynamodb/__init__.py
@@ -455,4 +455,4 @@ async def update_oauth_account(
455
user.oauth_accounts[idx] = type(oauth_account)(**updated_item) # type: ignore
456
break
457
458
- return await self.get(user.id)
+ return user
tests/test_users.py
@@ -30,7 +30,7 @@ class OAuthBase(BaseModel):
30
model_config = ConfigDict(arbitrary_types_allowed=True, from_attributes=True)
31
32
33
-class OAuthAccount(DynamoDBBaseOAuthAccountTableUUID, OAuthBase):
+class OAuthAccount(OAuthBase, DynamoDBBaseOAuthAccountTableUUID):
34
pass
35
36
0 commit comments