Skip to main content
Question

Ability to download graphql result to excel file on schedule

  • October 15, 2024
  • 2 replies
  • 32 views

Forum|alt.badge.img+1

Hi Team,

I want to download data from a CDF Data Model (GraphQL) on schedule. I create a Streamlit App but I can’t download and place the data on local machine based on schedule. Please let me know if there is any solution.

2 replies

Anders Hafreager
Practitioner

Hi,

From what you want to do, it seems like a Streamlit app running inside Cognite Data Fusion is not going to work because these apps do not have access to your file system. To solve your problem, I would probably write a similar Python script that I run in the terminal locally on your machine.

Would that work?


Forum|alt.badge.img+1

Thanks for your response, is there any documentation or sample code that I can refer to for this?