Skip to main content
Anders Brakestad
Seasoned ⭐️⭐️⭐️
Seasoned ⭐️⭐️⭐️
Dec 1, 2022 11:19 AM UTC
Gathering Interest

Cognite Charts: Export a calculation as Python code

Related products:Charts

Seeing as how all functions available in a calculation is defined in Python, perhaps a complete calculation (all nodes) can be exported to an executable python code. 

I am just throwing this out there as an idea; I have not thought a lot whether this is difficult/useful. One use case could perhaps be to prototype something in Charts, and then use exported code as a starting point for building something in Python.

 

Regards,

Anders Brakestad

3 replies

Eric  Stein-Beldring
Expert ⭐️⭐️⭐️⭐️
Dec 5, 2022 3:10 PM UTC

Once again, another feature request that we have heard and intend to offer. Our goal is to make it as seamless as possible to go from UI ↔ (python) code. 

When it comes to the “executable python code” that would be exported, could you share more about how you would intend to use that? I assume you would want to have python code that can be run independent of the calculations backend that powers the calculations in Charts?

@Neringa Altanaite @Henrik Eiding @Cristina Ferrer Teixidor @Dag Brattli FYI

Anita Hæhre
Expert ⭐️⭐️⭐️⭐️
Head of Community
Dec 5, 2022 7:33 PM UTC
New→Gathering Interest
Anita Hæhre
Seasoned ⭐️⭐️
Nov 14, 2024 9:52 PM UTC

Hello! Is this on the roadmap? Do we have an ETA?