yasuki_gui.ui.deck_builder.deck_io.serialize_deck#
- serialize_deck(deck_state, repository, deck_name='', deck_author='', today=None)[source]#
Serialize a DeckState to the portable YAML decklist format.
Each deck section is grouped by card type with
# Type (n)subheaders and counts (comments, skipped on import); name/author/date metadata heads the file.- Parameters:
- Returns:
- yaml
str YAML-formatted decklist.
- yaml