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

FlexMeasures / flexmeasures / 25336241802
80%

Build:
DEFAULT BRANCH: main
Ran 04 May 2026 06:43PM UTC
Jobs 1
Files 162
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 May 2026 06:31PM UTC coverage: 79.748% (+0.07%) from 79.674%
25336241802

push

github

web-flow
Add GET /api/v3_0/sources endpoint for accessible data sources and types (#2126)

* Initial plan

* Add GET /api/v3_0/sources endpoint for accessible data sources and types

Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/319e247a-b8ab-4340-95e2-d1fd41e39d4e

Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>

* Address code review feedback: improve type annotation and logging in sources.py

Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/319e247a-b8ab-4340-95e2-d1fd41e39d4e

Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>

* Fix only_latest grouping key to include account_id, add regression test

Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/3b892df2-b92d-4e1d-96ce-861a1f7ccf92

Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>

* Fix: changelog entry for GET /api/v3_0/sources endpoint to reference correct PR #2126

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Add tests for user_id access rule and only_latest tie-break by id

Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/55bb32f5-c2f0-42db-932a-bf2a8f883cfd

Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>

* test(fix): remove warning because the cross-account dedup regression test attached account relationships before the datasource objects were session-managed

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* feat(api): default sources listing to latest-only and use current_app logger

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* test(api): cover latest-only default and explicit full-history opt-out

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs(api): refresh OpenAPI defaults for sources endpoint

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs: generate ope... (continued)

68 of 71 new or added lines in 2 files covered. (95.77%)

12325 of 15455 relevant lines covered (79.75%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.65
flexmeasures/api/v3_0/sources.py
Jobs
ID Job ID Ran Files Coverage
1 25336241802.1 04 May 2026 06:43PM UTC 162
79.75
GitHub Action Run
Source Files on build 25336241802
  • Tree
  • List 162
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25336241802
  • e738e61d on github
  • Prev Build on main (#25278533713)
  • Next Build on main (#25346097512)
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

© 2026 Coveralls, Inc