Skip to main content
Solved

Streamlit application not having latest cognite sdk

  • September 19, 2024
  • 3 replies
  • 43 views

Forum|alt.badge.img+2

Hi Team,

I have created a streamlit application from cognite UI and using retrieve dataframe (https://cognite-sdk-python.readthedocs-hosted.com/en/latest/data_ingestion.html#retrieve-pandas-dataframe) to get details from raw tables. But in when executing from cognite UI it giving below error

RawRowsAPI.retrieve_dataframe() got an unexpected keyword argument 'partitions'

Upon checking the version found that in streamlit cognite sdk version is 7.51.1. I have tried the same setup from local with version 7.60.6 and it is working fine as expected. Above error I am getting when I am executing the streamlit app from cognite UI.

Please help to fix the issue

Regards

Haripriya

Best answer by Anders Hafreager

You can change the version of sdk and other packages in your streamlit app, see the readme for details. The settings can be found in the top menu near the app name.

View original

Anders Hafreager
Practitioner

You can change the version of sdk and other packages in your streamlit app, see the readme for details. The settings can be found in the top menu near the app name.


Isha Thapliyal
Seasoned Practitioner
Forum|alt.badge.img+4

Hi @Haripriyatv 

Did this help resolve the issue? Please let us know in case you have any further questions.

Thanks
Isha


Forum|alt.badge.img+2

Yes, thank you the answer fixes my issue.


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