Exemplo n.º 1
0
 def get_selector_list_data():
     jpDB = Japanese_DB_handler()
     sel_list = jpDB.list_categorie_by_usage(include_id=True)
     sel_number = jpDB.count(jpDB.base_format.categories)
     return sel_list, sel_number
Exemplo n.º 2
0
 def get_selector_list_data():
     jpDB = Japanese_DB_handler()
     sel_list = jpDB.list_core_p_by_usage(include_id=True)
     sel_number = jpDB.count(jpDB.base_format.core_prononciations)
     return sel_list, sel_number