def METHOD_NAME(deck_type: Optional[str] = None) -> str:
    tournament_only = validate_deck_type(deck_type, [DeckType.ALL, DeckType.TOURNAMENT]) == DeckType.TOURNAMENT
    query = request.args.get('fq')
    if query is None:
        query = ''
    view = Cards(query=query, tournament_only=tournament_only)
    return view.page()