utils/param_parse.py
def parse_param(params, parser):
    """
    Parse a single param out of a params dict.

    The `params` string -> string dictionary usually holds HTTP query params, or form params.

    The `parser` is a param parser function that is run on the `params`, and the produced value
    returned (or `None` if `Unset` is produced).
    """
    v = parser(params)
    if v is not Unset:
        return v
    else:
        return None

    Parse a single param out of a params dict.

    The `params` string -> string dictionary usually holds HTTP query params, or form params.

    The `parser` is a param parser function that is run on the `params`, and the produced value
    returned (or `None` if `Unset` is produced).
    
Parse a single param out of a params dict.
The `params` string -> string dictionary usually holds HTTP query params, or form params.


Parse a single param out of a params dict . The ` params ` string - > string dictionary usually holds HTTP query params or form params .
def parse_param(params, parser):
    v = parser(params)
    if v is not Unset:
        return v
    else:
        return None
def parse_param ( params , parser ) : v = parser ( params ) if v is not Unset : return v else : return None
Parse a single param out of a params dict.
Parse a single param out of a params dict .
"""
    Parse a single param out of a params dict.

    The `params` string -> string dictionary usually holds HTTP query params, or form params.

    The `parser` is a param parser function that is run on the `params`, and the produced value
    returned (or `None` if `Unset` is produced).
    """
params
parser