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

FlexMeasures / flexmeasures-client / 39045458329
96%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2026 03:32PM UTC
Jobs 10
Files 6
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

17 Oct 2026 03:31PM UTC coverage: 95.622% (-0.4%) from 95.991%
39045458329

push

github

web-flow
Add automation methods (#230)

* Add methods for the automation endpoints of FlexMeasures v1.1.0

List, inspect, create, update, delete and trigger automations on an asset.
update_automation takes its fields as a dict and/or as keyword arguments, and passes them on unchecked,
so fields the server makes editable later need no client release.
A 404 from a server older than v1.1.0 raises InsufficientServerVersionError,
while v1.1.0 pre-releases are accepted.

Closes #228

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVweu7HHCzk5yhWTskgjva
Signed-off-by: F.N. Claessen <felix@seita.nl>

* Document the automation methods

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVweu7HHCzk5yhWTskgjva
Signed-off-by: F.N. Claessen <felix@seita.nl>

* Rename trigger_and_await_automation to trigger_automation_and_wait

"Await" already means something else in Python.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVweu7HHCzk5yhWTskgjva
Signed-off-by: F.N. Claessen <felix@seita.nl>

* Break the automation guide's lines only after punctuation

Also render the update_automation docstring's example as a code block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVweu7HHCzk5yhWTskgjva
Signed-off-by: F.N. Claessen <felix@seita.nl>

* Name the automation's await wrapper trigger_and_await_automation again

It matches trigger_and_await_report:
trigger_and_get_* methods return their result,
while trigger_and_await_* methods return the finished job, as their results are written to sensors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVweu7HHCzk5yhWTskgjva
Signed-off-by: F.N. Claessen <felix@seita.nl>

* Explain the trigger_and_get_* and trigger_and_await_* naming in the automation guide

Co... (continued)

76 of 83 new or added lines in 2 files covered. (91.57%)

961 of 1005 relevant lines covered (95.62%)

9.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
95.49
-0.49% src/flexmeasures_client/client.py
Jobs
ID Job ID Ran Files Coverage
1 macos-latest - py3.10 - 39045458329.1 17 Oct 2026 03:33PM UTC 6
95.62
GitHub Action Run
2 ubuntu-latest - py3.11 - 39045458329.2 17 Oct 2026 03:32PM UTC 6
95.62
GitHub Action Run
3 ubuntu-latest - py3.14 - 39045458329.3 17 Oct 2026 03:32PM UTC 6
95.62
GitHub Action Run
4 ubuntu-latest - py3.10 - 39045458329.4 17 Oct 2026 03:32PM UTC 6
95.62
GitHub Action Run
5 ubuntu-latest - py3.13 - 39045458329.5 17 Oct 2026 03:32PM UTC 6
95.62
GitHub Action Run
6 macos-latest - py3.11 - 39045458329.6 17 Oct 2026 03:33PM UTC 6
95.62
GitHub Action Run
7 macos-latest - py3.14 - 39045458329.7 17 Oct 2026 03:33PM UTC 6
95.62
GitHub Action Run
8 macos-latest - py3.13 - 39045458329.8 17 Oct 2026 03:33PM UTC 6
95.62
GitHub Action Run
9 ubuntu-latest - py3.12 - 39045458329.9 17 Oct 2026 03:32PM UTC 6
95.62
GitHub Action Run
10 macos-latest - py3.12 - 39045458329.10 17 Oct 2026 03:33PM UTC 6
95.62
GitHub Action Run
Source Files on build 39045458329
  • Tree
  • List 6
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39045458329
  • c1ec444a on github
  • Prev Build on main (#39043759211)
  • Next Build on main (#39497829706)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc