Skip to main content
Gathering Interest

Cognite Charts: Export a calculation as Python code

Related products:Charts
  • December 1, 2022
  • 3 replies
  • 93 views

Anders Brakestad
Seasoned

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
Seasoned Practitioner

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
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Community
  • December 5, 2022
NewGathering Interest

  • Committed
  • November 14, 2024

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