Skip to content

fix(records): fix import order for RecordsAPI in _cognite_client.py

5324157
Select commit
Loading
Failed to load commit list.
Draft

feat(records): Records API #2616

fix(records): fix import order for RecordsAPI in _cognite_client.py
5324157
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 11, 2026 in 1s

93.05% (+0.02%) compared to 1979253

View this Pull Request on Codecov

93.05% (+0.02%) compared to 1979253

Details

Codecov Report

❌ Patch coverage is 97.11538% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.05%. Comparing base (1979253) to head (5324157).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
cognite/client/_api/data_modeling/records.py 85.71% 13 Missing ⚠️
...gnite/client/data_classes/data_modeling/records.py 99.20% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2616      +/-   ##
==========================================
+ Coverage   93.03%   93.05%   +0.02%     
==========================================
  Files         486      490       +4     
  Lines       49208    49996     +788     
==========================================
+ Hits        45780    46526     +746     
- Misses       3428     3470      +42     
Files with missing lines Coverage Δ
cognite/client/_api/data_modeling/__init__.py 100.00% <100.00%> (ø)
cognite/client/_cognite_client.py 96.52% <100.00%> (+0.03%) ⬆️
cognite/client/_sync_api/data_modeling/__init__.py 100.00% <100.00%> (ø)
cognite/client/_sync_api/data_modeling/records.py 100.00% <100.00%> (ø)
...nite/client/data_classes/data_modeling/__init__.py 100.00% <100.00%> (ø)
cognite/client/testing.py 100.00% <100.00%> (ø)
cognite/client/utils/_url.py 100.00% <ø> (ø)
...s_unit/test_api/test_data_modeling/test_records.py 100.00% <100.00%> (ø)
tests/tests_unit/test_api_client.py 99.71% <ø> (ø)
tests/tests_unit/test_docstring_examples.py 100.00% <100.00%> (ø)
... and 2 more

... and 23 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.