mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +01:00
perf: improve commander selection speed and fix color identity display
This commit is contained in:
parent
454269daab
commit
345dfb3e01
12 changed files with 321 additions and 106 deletions
|
|
@ -77,6 +77,15 @@ def get_processed_cards_path() -> str:
|
|||
return os.path.join(card_files_processed_dir(), "all_cards.parquet")
|
||||
|
||||
|
||||
def get_commander_cards_path() -> str:
|
||||
"""Get the path to the pre-filtered commander-only Parquet file.
|
||||
|
||||
Returns:
|
||||
Path to card_files/processed/commander_cards.parquet
|
||||
"""
|
||||
return os.path.join(card_files_processed_dir(), "commander_cards.parquet")
|
||||
|
||||
|
||||
def get_batch_path(batch_id: int) -> str:
|
||||
"""Get the path to a batch Parquet file.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue