示例#1
0
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()
示例#2
0
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()