Closed mdadighat closed 3 weeks ago
Coverage Report
File Stmts Miss Cover Missing src/api satchecker.py 1 1 0% 1 src/api/adapters/repositories satellite_repository.py 54 4 93% 29, 33, 37, 41 tle_repository.py 89 10 89% 63, 69, 75, 84, 93, 97, 101, 220–235 src/api/domain/models tle.py 19 1 95% 52 src/api/entrypoints extensions.py 10 1 90% 32 src/api/entrypoints/v1/routes routes.py 37 10 73% 22, 63, 92, 114–126 tools_routes.py 57 10 82% 50–52, 87–89, 156–165 src/api/services tools_service.py 20 4 80% 67–91 validation_service.py 112 1 99% 139 src/api/services/tasks ephemeris_tasks.py 40 7 82% 56, 81, 126, 130, 158, 179–182 src/api/utils coordinate_systems.py 138 1 99% 458 propagation_strategies.py 65 1 98% 123 TOTAL 909 51 94%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
97 | 0 :zzz: | 0 :x: | 0 :fire: | 10.841s :stopwatch: |
Description:
Add an endpoint to the tools section to get the most recent TLE for any satellite with has_current_sat_number set to true
Context:
We need access for collaborators to use TLE data and full database access is an unknown for now, so this should hopefully cover the majority of cases. In future we might protect this endpoint with an API key