You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System information (please complete the following information):
OS: [14.1.2 (23B92)
Python Version: Python/3.10.5
SDK Version: Latest
Describe the bug
The client.entity_matching.retrieve endpoint raises an error if the model does not exist. It should return None.
To Reproduce
Runnable code reproducing the error.
from cognite.client import CogniteClient
client = CogniteClient()
client.entity_matching.retrieve(external_id = "1234")
#assuming that model with ex_id = "1234" does not exist.
Expected behavior
It should not raise an error, but return None.
System information (please complete the following information):
Describe the bug
The client.entity_matching.retrieve endpoint raises an error if the model does not exist. It should return None.
To Reproduce
Runnable code reproducing the error.
Expected behavior
It should not raise an error, but return None.
cognite-sdk-python/cognite/client/_api/entity_matching.py
Line 43 in 50e35ac
The text was updated successfully, but these errors were encountered: