Skip to content

Conversation

@fe51
Copy link
Member

@fe51 fe51 commented Dec 15, 2025

TO REVIEW AFTER #531 (introducing poses)

This PR to address #524  which is part of the planned changes to the data model

It introduces the following modifications

  • Add table occlusion_masks in model
  • Add occlusion_masks schema & crud
  • Add occlusion_masks CRUD endpoint
  • Updates poses endpoints adding occlusion mask listing related to a pose
  • Update tests
  • Update db diagram

note

  • occlusion mask read endpoint is permissive endpoint on (as long as authentified on the api)

What is missing (to be discussed of to handle in another PR)

  • Alembic migrations
  • Client updates -> will be done later
  • Client tests (struggled to be properly run locally)

Happy to discuss it

@github-actions github-actions bot added topic: docs Improvements or additions to documentation endpoint: cameras labels Dec 15, 2025
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 95.74468% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.03%. Comparing base (9cba4af) to head (8cf3d46).

Files with missing lines Patch % Lines
src/app/api/api_v1/endpoints/poses.py 91.11% 4 Missing ⚠️
src/app/api/api_v1/endpoints/occlusion_masks.py 95.83% 2 Missing ⚠️
src/app/api/api_v1/endpoints/cameras.py 91.66% 1 Missing ⚠️
src/app/crud/crud_occlusion_mask.py 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #533      +/-   ##
==========================================
+ Coverage   84.07%   85.03%   +0.96%     
==========================================
  Files          39       42       +3     
  Lines        1212     1310      +98     
==========================================
+ Hits         1019     1114      +95     
- Misses        193      196       +3     
Flag Coverage Δ
backend 85.03% <95.74%> (+1.63%) ⬆️
client ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant