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