cognite-sdk-python
cognite-sdk-python copied to clipboard
Improve the error message when using InstanceId.load with a tuple of wrong length
Description
Curren error message talks about missing external ID key
Checklist:
- [x] Tests added/updated.
- [ ] Documentation updated. Documentation is generated from docstrings - these must be updated according to your change. If a new method has been added it should be referenced in cognite.rst in order to generate docs based on its docstring.
- [x] Changelog updated in CHANGELOG.md.
- [x] Version bumped. If triggering a new release is desired, bump the version number in _version.py and pyproject.toml per semantic versioning.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 90.65%. Comparing base (a9d591a) to head (74dc4b0).
:warning: Report is 107 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #2179 +/- ##
=======================================
Coverage 90.65% 90.65%
=======================================
Files 159 159
Lines 24135 24138 +3
=======================================
+ Hits 21880 21883 +3
Misses 2255 2255
| Files with missing lines | Coverage Δ | |
|---|---|---|
| cognite/client/_version.py | 100.00% <100.00%> (ø) |
|
| cognite/client/utils/_identifier.py | 88.65% <100.00%> (+0.40%) |
:arrow_up: |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
/gemini review