Hi, I’m sort of new-ish to Palantir/Foundry…learning about function backed actions. The documentation mentions writing type script functions in code repository, publishing it and tying it to an action.Because there is no mention of writing this function in python in the doc, I’m wondering if this is not advised? What is the advantage of using type script vs python in this case?
Well, Python Functions for the Ontology were announced a mere four days ago and they’re flagged as Beta. So, I would assume that the docs will be updated soon.
Today, I’m seeing much better performance from TypeScript Functions than Python. But I’m sure this is on the dev’s radar as something to improve. The other thing is that for Python Functions you need to make sure you’ve got a deployment running (presumably a Compute Module behind the scenes?), which is something that TypeScript doesn’t require.
Hi,
Ontology Edit Functions are currently only supported for typescript functions. See https://www.palantir.com/docs/foundry/functions/edits-overview/
Python functions do not support function backed actions yet and we will update the release notes when this functionality exists!
Oh gotcha… I didn’t know. Thanks!
Good to know! Thank you!
Function-backed actions are now supported in Python! See the documentation for how to configure them.