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()
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()
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()
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()
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)
class TestMeasuremement(canal.Measurement): int_field = canal.IntegerField()