Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Oct 30, 2024
1 parent b865a76 commit b810b5e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from models_library.products import ProductName
from models_library.users import GroupID, UserID
from models_library.wallets import UserWalletDB, WalletID
from pydantic import BaseModel
from pydantic import BaseModel, ConfigDict

from ..users import api as users_api
from . import _db as wallets_db
Expand All @@ -23,6 +23,10 @@ class WalletGroupGet(BaseModel):
delete: bool
created: datetime
modified: datetime

model_config = ConfigDict(
from_attributes=True
)


async def create_wallet_group(
Expand Down

0 comments on commit b810b5e

Please sign in to comment.