summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/utils/config_session_function.py
blob: fc0dd7a878d404ed81a6ab1760f984db8cb7e168 (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
# 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

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

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}