Skip to main content
Solved

Python SDK - List, Search, Query Instance from FDM


Forum|alt.badge.img+2

Hi Team,

Is there any sample code available for retrieving a list of instance objects from FDM? I've reviewed the documentation's sample code, but I need additional clarification on where to provide Space, Object Type, Version, and Data Model.
 
 Sample code available for Instance List.

 instance_list = c.data_modeling.instances.list(limit=5)


 I have also followed the steps outlined in the document URL below..
 advancedListInstance
 queryContent
 searchInstances
 
Thanks,

Karguvel K

Best answer by Håkon V. Treider

You mention the Python SDK in the title, but link to the official API documentation. Have you checked out the specific SDK documentation?

https://cognite-sdk-python.readthedocs-hosted.com/en/latest/data_modeling.html#instances

We’d love your feedback regarding which examples are unclear or which use cases are missing. 

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img

You mention the Python SDK in the title, but link to the official API documentation. Have you checked out the specific SDK documentation?

https://cognite-sdk-python.readthedocs-hosted.com/en/latest/data_modeling.html#instances

We’d love your feedback regarding which examples are unclear or which use cases are missing. 


Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • 671 replies
  • November 30, 2023

Hi @Karguvel kalisekar,

Did the above help you? 

Br,

Dilini 


Forum|alt.badge.img+2

Hi,

Yes, the information above was helpful.

Thank you.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings