Exemple #1
0
 class Measurement(canal.Measurement):
     int_field = canal.IntegerField()
     alternate_db_name = canal.IntegerField(db_name="something_else")
     float_field = canal.FloatField()
     bool_field = canal.BooleanField()
     string_field = canal.StringField()
     tag_1 = canal.Tag()
     tag_2 = canal.Tag()
Exemple #2
0
 class Fixture(canal.Measurement):
     int_field = canal.IntegerField()
     float_field = canal.FloatField()
     bool_field = canal.BooleanField()
     string_field = canal.StringField()
     alternate_db_name = canal.StringField(db_name="alternate")
     test_tag = canal.Tag()
Exemple #3
0
 class TestMeasurement(canal.Measurement):
     int_field = canal.IntegerField()
     float_field = canal.FloatField()
     bool_field = canal.BooleanField()
     string_field = canal.StringField()
     first_tag = canal.Tag()
     second_tag = canal.Tag()
Exemple #4
0
class IMU(canal.Measurement):
    accelerometer_x = canal.IntegerField()
    accelerometer_y = canal.IntegerField()
    accelerometer_z = canal.IntegerField()
    gyroscope_x = canal.IntegerField()
    gyroscope_y = canal.IntegerField()
    gyroscope_z = canal.IntegerField()
    user_id = canal.Tag()
Exemple #5
0
 class TestMeasurement(canal.Measurement):
     test_field = canal.IntegerField()
     required_int = canal.IntegerField(required=True)
     required_float = canal.FloatField(required=True)
     required_tag = canal.Tag(required=True)
Exemple #6
0
 class TestMeasuremement(canal.Measurement):
     int_field = canal.IntegerField()