Skip to content

Conversation

@julianstirling
Copy link
Contributor

This builds upon #235, adding somewhat better errors when a ThingClient throws an error when trying to invoke an action or get/set a property (#234).

It would be good eventually to check the thing descriptions and provide more useful errors for things like Read Only properties.

@barecheck
Copy link

barecheck bot commented Dec 22, 2025

Barecheck - Code coverage report

Total: 96.17%

Your code coverage diff: 0.23% ▴

Uncovered files and lines
FileLines
src/labthings_fastapi/client/__init__.py62, 65-66, 249-252, 359

@julianstirling julianstirling requested a review from rwb27 December 22, 2025 22:48
Copy link
Collaborator

@rwb27 rwb27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. I've expanded a couple of docstrings in suggestions but otherwise please merge as-is :)

@rwb27 rwb27 force-pushed the ThingClient-exceptions branch from 7e100db to ce9e9c1 Compare January 6, 2026 10:06
@rwb27
Copy link
Collaborator

rwb27 commented Jan 6, 2026

Sorry for the force-push, I made suggestions for docstrings, but some lines were too long.

@rwb27 rwb27 merged commit 73ff0ac into main Jan 6, 2026
14 checks passed
@rwb27 rwb27 deleted the ThingClient-exceptions branch January 6, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants