Open iambroadband opened 11 months ago
We want to be able to convert between DeckModel and Deck easily in both directions.
https://stackoverflow.com/questions/55762673/how-to-parse-list-of-models-with-pydantic
Blocked on #7 ; our Python wrappings around Card DB lookups may be able to solve a lot of this with the @cache decorator on our card lookup by ID.
@cache
I don't know what happened to the attached images here.
Description
We want to be able to convert between DeckModel and Deck easily in both directions.
Resources
https://stackoverflow.com/questions/55762673/how-to-parse-list-of-models-with-pydantic