Skip to content

fix: Add streams to non-idempotent POST endpoints list

bcd743f
Select commit
Loading
Failed to load commit list.
Open

feat(records): alpha support for streams and records #2246

fix: Add streams to non-idempotent POST endpoints list
bcd743f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 6, 2026 in 0s

90.67% (-0.16%) compared to 67b9b76

View this Pull Request on Codecov

90.67% (-0.16%) compared to 67b9b76

Details

Codecov Report

❌ Patch coverage is 80.93842% with 65 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.67%. Comparing base (67b9b76) to head (bcd743f).
⚠️ Report is 627 commits behind head on master.

Files with missing lines Patch % Lines
cognite/client/_api/data_modeling/records.py 41.30% 27 Missing ⚠️
...gnite/client/data_classes/data_modeling/records.py 85.36% 12 Missing ⚠️
...ite/client/data_classes/data_modeling/instances.py 76.31% 9 Missing ⚠️
cognite/client/_api/data_modeling/streams.py 80.55% 7 Missing ⚠️
cognite/client/data_classes/data_modeling/ids.py 54.54% 5 Missing ⚠️
...gnite/client/data_classes/data_modeling/streams.py 93.15% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2246      +/-   ##
==========================================
- Coverage   90.82%   90.67%   -0.16%     
==========================================
  Files         170      174       +4     
  Lines       25666    25898     +232     
==========================================
+ Hits        23312    23483     +171     
- Misses       2354     2415      +61     
Files with missing lines Coverage Δ
cognite/client/_api/agents/agents.py 100.00% <100.00%> (ø)
cognite/client/_api/data_modeling/__init__.py 100.00% <100.00%> (ø)
...nite/client/_api/hosted_extractors/destinations.py 94.44% <100.00%> (+1.11%) ⬆️
cognite/client/_api/hosted_extractors/jobs.py 88.57% <100.00%> (+0.10%) ⬆️
cognite/client/_api/hosted_extractors/mappings.py 96.00% <100.00%> (+1.35%) ⬆️
cognite/client/_api/hosted_extractors/sources.py 95.08% <100.00%> (+1.05%) ⬆️
cognite/client/_api/simulators/__init__.py 100.00% <100.00%> (ø)
cognite/client/_api/simulators/integrations.py 96.66% <100.00%> (-0.11%) ⬇️
cognite/client/_api/simulators/logs.py 100.00% <100.00%> (ø)
cognite/client/_api/simulators/models.py 98.27% <100.00%> (-0.06%) ⬇️
... and 14 more

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.