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

FlexMeasures / flexmeasures / 24729372069
81%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2026 03:06PM UTC
Jobs 1
Files 163
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

21 Apr 2026 02:53PM UTC coverage: 79.512% (+0.2%) from 79.316%
24729372069

push

github

web-flow
Feat/copy assets (#2017)

* chore: initialize repo

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

* chore: work in progress

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

* tests: added test to test for cpy asset feature

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

* chore: removed unused file

* refactor: relocate util function

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

* refacto: Refactored util for copying asset

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

* tests: and new test case

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

* chore: move logic into @post_load

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

* feat: implement deep copy of asset subtree including direct sensors

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

* feat: add permission requirement for copying assets

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

* feat: enhance asset copy endpoint with detailed OpenAPI specifications and query parameters

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

* feat: add test for asset copy API to ensure direct sensors are duplicated

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

* Update flexmeasures/api/v3_0/assets.py

Co-authored-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Signed-off-by: JDev <45713692+joshuaunity@users.noreply.github.com>

* feat: enhance asset copy response messages for clarity based on parameters

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

* Revert same-site sensor reference preservation in asset copy (#2056)

* Initial plan

* fix: add type annotation for result dict in _replace_sensor_refs to satisfy mypy

Co-authored-by: joshuaunity <45713692+joshuaunity@users.noreply.github.com>
Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/5015069b-4d6c-4084-8508-eaa501254a01

* style: apply black formatting after refactor

Co-authored-by: joshuauni... (continued)

203 of 216 new or added lines in 4 files covered. (93.98%)

12357 of 15541 relevant lines covered (79.51%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
79.36
0.34% flexmeasures/api/v3_0/assets.py
6
89.96
12.18% flexmeasures/api/common/utils/api_utils.py
Jobs
ID Job ID Ran Files Coverage
1 24729372069.1 21 Apr 2026 03:06PM UTC 163
79.51
GitHub Action Run
Source Files on build 24729372069
  • Tree
  • List 163
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24729372069
  • 20f81109 on github
  • Prev Build on main (#24726457890)
  • Next Build on main (#24827358383)
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