I posted it in Github, but cross-posting here too.
https://github.com/cognitedata/cognite-sdk-python/issues/2525
System information (please complete the following information):
- OS: Windows11
- Python Version: 3.12
- SDK Version: 8.
Describe the bug
This code previously worked:
NodeId.load_if(None)
But since v8, I am getting this error:
AttributeError: type object 'NodeId' has no attribute 'load_if'. Did you mean: '_load_if'?
To Reproduce
Runnable code reproducing the error.
NodeId.load_if(None)
Expected behavior
In Cognite SDK v7 this returns None.
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support