Skip to content

Deck

Warning

scooze decks are still under construction...

scooze.models.deck

DeckModelData

Bases: ScoozeBaseModel

A data model to represent a deck of Magic: the Gathering cards.

Attributes:

Name Type Description
archetype str

The archetype of this DeckModel.

format Format

The format legality of the cards in this DeckModel.

date_played date

The date this DeckModel was played.

main Counter[ObjectIdT]

The main deck. Typically 60 cards minimum.

side Counter[ObjectIdT]

The sideboard. Typically 15 cards maximum.

cmdr Counter[ObjectIdT]

The command zone. Typically 1 or 2 cards in Commander formats.

TODO(#273) Counter[ObjectIdT]

Add attraction and sticker decks to Deck model.

DeckModel

Bases: ScoozeDocument, DeckModelData

Database representation of a scooze Deck.