Skip to content

Commit

Permalink
πŸ› plaid_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Jan 29, 2024
1 parent ae69e82 commit 0edb7e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lunchable/models/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,10 @@ def to_json(cls, x: Optional[str]) -> Optional[Dict[str, Any]]:
"""
if x is None:
return None
return pydantic_core.from_json(x)
elif isinstance(x, dict):
return x
else:
return pydantic_core.from_json(x)

def get_update_object(self) -> TransactionUpdateObject:
"""
Expand Down

0 comments on commit 0edb7e4

Please sign in to comment.