from typing import Dict
from typing import Any
from typing import List


def get_all_cards_and_tokens_from_content(
    all_printings_content: Dict[str, Any]
) -> List[Dict[str, Any]]:
    """
    Convert the content of AllPrintings into a list of card objects
    :param all_printings_content: Content of AllPrintings
    :return List of cards
    """
    cards_and_tokens_with_set_code = []
    for value in all_printings_content.values():
        for card in value.get("cards", []) + value.get("tokens", []):
            cards_and_tokens_with_set_code.append(card)
    return cards_and_tokens_with_set_code