def valid_timestamp(request):
    try:
        return request.timestamp
    except exceptions.InvalidTimestamp as e:
        raise HTTPBadRequest(body=str(e), request=request,
                             content_type='text/plain')
Get location by ID.
dataset/ETHPy150Open openstack/swift/swift/common/constraints.py/valid_timestamp--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_get_location_by_id