Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #548 +/- ##
==========================================
+ Coverage 88.14% 88.16% +0.02%
==========================================
Files 50 51 +1
Lines 1990 2138 +148
==========================================
+ Hits 1754 1885 +131
- Misses 236 253 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@MateoLostanlen can you review and test it ? |
MateoLostanlen
left a comment
There was a problem hiding this comment.
Hello Felix,
Thanks for the PR. I tested it and everything works great except for run_focus_finder, because of the times out (see my coment)
However, I’m not a huge fan of duplicating the client code. In my opinion it would be cleaner to install it directly from pyro-engine. Did you do it this way for a specific reason?
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
You are right about client usage. I have updated the script to use pyro-engine api-camera client -> Note using from branch develop because not yet merged on main ! We might need to update dependencies to main in the near future once develop is merged on main |
Summary
This PR introduces camera device proxy endpoints.
It secures api camera interaction, by using same right as in the API, and forwwarding request to devices via the VPN.
Changes
New files
Endpoints use api-camera client from pyro-engine
Modified files
pyproject.toml — suppressed ANN401 for camera_client.py and camera_proxy.py; these functions return opaque third-party JSON, so Any is correct by design, not a laziness
Tests
Design decisions
Happy to discuss it