Skip to content

fix(api): simplify Sensor model and update field names

Codecov / codecov/patch succeeded Dec 2, 2024 in 0s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Annotations

Check warning on line 5 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L1-L5

Added lines #L1 - L5 were not covered by tests

Check warning on line 7 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L7

Added line #L7 was not covered by tests

Check warning on line 10 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 13 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L13

Added line #L13 was not covered by tests

Check warning on line 21 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L15-L21

Added lines #L15 - L21 were not covered by tests

Check warning on line 23 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L23

Added line #L23 was not covered by tests

Check warning on line 27 in api/src/app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/app.py#L25-L27

Added lines #L25 - L27 were not covered by tests

Check warning on line 1 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L1

Added line #L1 was not covered by tests

Check warning on line 3 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L3

Added line #L3 was not covered by tests

Check warning on line 5 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L5

Added line #L5 was not covered by tests

Check warning on line 12 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L11-L12

Added lines #L11 - L12 were not covered by tests

Check warning on line 17 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 24 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L19-L24

Added lines #L19 - L24 were not covered by tests

Check warning on line 32 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L26-L32

Added lines #L26 - L32 were not covered by tests

Check warning on line 43 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L35-L43

Added lines #L35 - L43 were not covered by tests

Check warning on line 48 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L45-L48

Added lines #L45 - L48 were not covered by tests

Check warning on line 57 in api/src/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/config.py#L57

Added line #L57 was not covered by tests

Check warning on line 5 in api/src/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main.py#L1-L5

Added lines #L1 - L5 were not covered by tests

Check warning on line 11 in api/src/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main.py#L7-L11

Added lines #L7 - L11 were not covered by tests

Check warning on line 14 in api/src/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main.py#L13-L14

Added lines #L13 - L14 were not covered by tests

Check warning on line 16 in api/src/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main.py#L16

Added line #L16 was not covered by tests

Check warning on line 19 in api/src/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main.py#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 17 in api/src/models/sensor_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/models/sensor_model.py#L17

Added line #L17 was not covered by tests

Check warning on line 34 in api/src/models/sensor_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/models/sensor_model.py#L34

Added line #L34 was not covered by tests

Check warning on line 28 in api/src/services/sensor_service.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/services/sensor_service.py#L26-L28

Added lines #L26 - L28 were not covered by tests