Exemple #1
0
def get_related_characters(ch_id, r_kind):

    res = C.get_related_characters(ch_id, r_kind)

    rsp = Response(json.dumps(res),
                   status=200,
                   content_type="application/json")
    return rsp
Exemple #2
0
def t2():
    ch_id = 'CH_15'
    r_type = "killed"
    res = C.get_related_characters(ch_id, r_type)
    print("Res = ", json.dumps(res, indent=3))
def t2():
    ch_id = 'CH_15'
    r_type = "KILLED"
    res = C.get_related_characters(ch_id, r_type)
    print("Res = ", res)