Back

Is it possible to return HTML code from a function?

  • 0
  • Functions
flo<3ler
29 May, 2024, 13:38

Hey, quick question: I had the idea of generating interactive server-side visualizations with the altair package in python. Since it offers HTML exports, could i generate the HTML in an Appwrite function and then return it so the user can view the generated plot in their browser?

I haven't looked too much in the documentation and did not find that specific problem.

Would appreciate a quick answer if this is feasible so I could look into it more. Thanks!

TL;DR
Developers are wondering if they can return HTML code generated using the Altair package in Python from an Appwrite function to display interactive server-side visualizations. They haven't found a specific solution in the documentation and would like to know if this idea is feasible.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more