Skip to content

Fix Account pydantic model#522

Open
dtatarkin wants to merge 1 commit intoalpacahq:masterfrom
dtatarkin:fix-account-model2
Open

Fix Account pydantic model#522
dtatarkin wants to merge 1 commit intoalpacahq:masterfrom
dtatarkin:fix-account-model2

Conversation

@dtatarkin
Copy link
Contributor

Fix Account pydantic model to properly handle serialization and deserialization.

The custom init method for the account model makes no sense, as it partially duplicates the default built-in pydantic behaviour, but breaks model serialisation and deserialisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant