Пример #1
0
def del_macro(folder: str, name: str):
    database = SnakyData("data")
    load_macros(folder, "")
    database.get_ref(folder).del_data(name, "macros.json")
Пример #2
0
def set_macro(folder: str, name: str, macro: dict):
    database = SnakyData("data")
    load_macros(folder, "")
    database.get_ref(folder).set_data(name, macro, "macros.json")