• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 11292049838

11 Oct 2024 12:09PM UTC coverage: 67.302% (+0.03%) from 67.268%
11292049838

push

github

web-flow
Sensorstoshow table column (#1200)

* chore: added sensors_to_show field in asset model

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: sensors_toShow migration

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: sensors to show logic in progress

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: sensor_to_show field unreadable

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: import error due absence of linting supresser noqa F821

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* feat: auto migrate sensors_to_show data

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: handle empty case

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: used proper field type for sensors_to_sow

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: added to changelog

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: typo fix

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: updated changelog

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: func name change

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: updated doc string and fixed does not accept objects of type <class 'str'> err

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: wrong fuction name

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: relocate dict processing - Work in progress

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: pass validated sensors_to_show instead of raw json data with IDs

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: proper fallback value for json loading

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* chore: removeing unused code

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: read form sensors_to_show model field direct

... (continued)

6256 of 10130 branches covered (61.76%)

Branch coverage included in aggregate %.

10 of 38 new or added lines in 4 files covered. (26.32%)

7903 of 10908 relevant lines covered (72.45%)

5.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.99
/flexmeasures/api/v3_0/assets.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc