Пример #1
0
def json_opt_filter_str(key):
    val = flask.request.json.get(key)
    return None if val is None else filter_str(val)
Пример #2
0
def json_opt_filter_str(key):
    val = flask.request.json.get(key)
    return None if val is None else filter_str(val)
Пример #3
0
def json_filter_str(key):
    return filter_str(flask.request.json[key])
Пример #4
0
def json_filter_str(key):
    return filter_str(flask.request.json[key])