Beispiel #1
0
def build_default_sensor_for_client(client=None, sensor_id=None):
    return Sensor.fashion_default_sensor_with_client(client=client,
                                                     sensor_id=sensor_id)
Beispiel #2
0
def build_sensor_from_config(config_options=None, sensor_id=None):
    return Sensor.fashion_sensor_with_config(
        config_options=config_options
        or HttpOptions(optimize_serialization=True),
        sensor_id=sensor_id)
Beispiel #3
0
def build_default_sensor(sensor_id=None):
    return Sensor.fashion_sensor_with_config(
        config_options=HttpOptions(optimize_serialization=True),
        sensor_id=sensor_id)