summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/generate/config_session_function.py
blob: 20fc7cc1da1101894863590ab393ad9d7e3ec422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# typing information for native configsession functions; used to generate
# schema definition files
import typing

def show_config(path: list[str], configFormat: typing.Optional[str]):
    pass

def show(path: list[str]):
    pass

def show_user_info(user: str):
    pass

queries = {'show_config': show_config,
           'show': show,
           'show_user_info': show_user_info}

def save_config_file(fileName: typing.Optional[str]):
    pass
def load_config_file(fileName: str):
    pass
def add_system_image(location: str):
    pass
def delete_system_image(name: str):
    pass

mutations = {'save_config_file': save_config_file,
             'load_config_file': load_config_file,
             'add_system_image': add_system_image,
             'delete_system_image': delete_system_image}