Beispiel #1
0
def categories() -> Dict[str, List[Dict[str, str]]]:
    return Categories.to_json(dict(Categories.get_categories()))
Beispiel #2
0
def categories() -> wrappers.Response:
    return jsonify(dict(Categories.get_categories()))
def categories() -> Dict[str, List[Dict[str, str]]]:
    return jsonify(Categories.get_categories())