def edit_archetypes(search_results: Optional[List[Deck]] = None, q: str = '', notq: str = '') -> str: if search_results is None: search_results = [] view = EditArchetypes(archs.load_archetypes_deckless(order_by='a.name'), search_results, q, notq) return view.page()
def edit_archetypes(search_results=None): if search_results is None: search_results = [] view = EditArchetypes(archs.load_archetypes_deckless(order_by='a.name'), search_results) return view.page()