def create_graph(ckcore_base_uri: str, ckcore_graph: str):
    graph_uri = f'{ckcore_base_uri}/graph/{ckcore_graph}'
    log.debug(f'Creating graph {ckcore_graph} via {graph_uri}')
    headers = {'accept': 'application/json'}
    if getattr(ArgumentParser.args, 'psk', None):
        encode_jwt_to_headers(headers, {}, ArgumentParser.args.psk)
    r = requests.post(graph_uri, data='', headers=headers)
    if (r.status_code != 200):
        log.error(r.content)
        raise RuntimeError(f'Failed to create graph: {r.content}')
def create_graph(ckcore_base_uri: str, ckcore_graph: str):
    graph_uri = f'{ckcore_base_uri}/graph/{ckcore_graph}'
    log.debug(f'Creating graph {ckcore_graph} via {graph_uri}')
    headers = {'accept': 'application/json'}
    if getattr(ArgumentParser.args, 'psk', None):
        encode_jwt_to_headers(headers, {}, ArgumentParser.args.psk)
    r = requests.post(graph_uri, data=, headers=headers)
    if (r.status_code != 200):
        log.error(r.content)
        raise RuntimeError(f'Failed to create graph: {r.content}')