https://pulumi.com logo
Title
k

kind-jelly-61624

10/03/2022, 12:56 AM
Does anyone have experience creating functions? I added the function to my schema.json but when I try to run it I get
Unexpected <class 'NotImplementedError'>: Method not implemented!
I’m trying to make a top level function that is not dependent on a resource
e

echoing-dinner-19531

10/03/2022, 7:19 AM
I don’t think the python sdk supports Invokes at the moment. It’s due a pass over to bring all the languages up to full support, currently only Go has support for everything a provider can do.
😔 1
k

kind-jelly-61624

10/03/2022, 3:30 PM
I see, thanks @echoing-dinner-19531, would you know if this is going to be possible soon?
e

echoing-dinner-19531

10/03/2022, 4:39 PM
I'm not sure, I'd need to look into it Are you trying to do this in a dynamic provider or a stand-alone provider?
k

kind-jelly-61624

10/03/2022, 5:59 PM
thanks @echoing-dinner-19531, much appreciated! We’re building out a stand alone provider
e

echoing-dinner-19531

10/03/2022, 6:00 PM
Ok I'll have a look into that, that might be easy to get added to the next release
k

kind-jelly-61624

10/03/2022, 6:01 PM
that would be amazing, thanks so much!
we’re creating a provider that we’d like used across the org and having this would be a game changer
e

echoing-dinner-19531

10/03/2022, 6:03 PM
👍 I'd love to hear more details about how your building, packaging, distributing that provider if your open to it. Feel free to DM me on here doesn't need to be public, but details like that can really help drive what we focus on.
k

kind-jelly-61624

10/03/2022, 6:03 PM
Sounds good!
e

echoing-dinner-19531

10/04/2022, 8:38 AM
https://github.com/pulumi/pulumi/pull/10906 <- Adding invoke to the python Provider object
k

kind-jelly-61624

10/07/2022, 7:08 PM
Thanks @echoing-dinner-19531 ! This is huge!