Thank you, @Guillaume Rongier !
Do we have this very valuable info in Documentation? Couldn't find it from scratch.
- Log in to post comments
Thank you, @Guillaume Rongier !
Do we have this very valuable info in Documentation? Couldn't find it from scratch.
So, every time I need to use embedded python with IRIS I need to turn CallIn on?
Still have Forbidden after update and rebuild:

@Guillaume Rongier , just curious, why do you need CallIn service enabled?
I'm getting 403 when I do a Post request on localhost:5000/persons/. What am I doing wrong?
Hi @Daniel Aguilar ! Do you want to publish your repo on Open Exchange?
There were a good article on the topic a few years ago by @Olga Phomina
Docker gives you the freedom of IRIS version during development: you can switch to ANY IRIS version just by changing one line code in a Dockerfile. E.g. here the lowest before FROM $IMAGE is the one that will be used to work with your solution:
ARG IMAGE=intersystemsdc/irishealth-community:2020.3.0.200.0-zpm ARG IMAGE=intersystemsdc/iris-community:2020.4.0.547.0-zpm ARG IMAGE=containers.intersystems.com/intersystems/iris:2021.1.0.215.0 ARG IMAGE=intersystemsdc/iris-community ARG IMAGE=intersystemsdc/irishealth-community FROM $IMAGE
Thanks, @Alex Woodhead! Looks very interesting!
Thanks, @Guillaume Rongier !
Yes, I was confused by the documentation a bit. Variables i,j are not needed to go through all the global.
Thanks @Robert Cemper!
Thanks @Jolyon Smith! I used help(iris) and haven’t found this info in help (maybe I overlooked).
This works:
print(iris.cls('ClassName')._GetParameter("ParameterName")
Thanks, Ben ;) Submitted an idea here.
Thought more about the use case:
The use case is “Better Developer Experience”.
What is another way? They are classes, right?
Thanks, @Bob Kuszewski!
The use case is the usage of class parameters in Embedded Python. They could same useful as they are in ObjectScript.
The reason to code with Embedded python as a first class citizen coding language as ObjectScript is.
Should the "Deploy=true" be provided for every resource? If the module contains two resources, and one is in Deploy mode and the second without, will the second be deployed with source code and the first without?
This is great, thank you!
I like this certification checkbox on the avatar! And I already want it! :) How can I get InterSystems certification? )
Great release! If classes with Embedded python methods can be deployed in a deployed (with no source) mode?
Maybe it makes sense to add something like cself or Self to refer to a class inside classmethods. @Bob Kuszewski ?
Unfortunately no. self is for the object instance I guess
This works! Thanks, @Robert Cemper!
Wow! Never knew of such an option!
This is to refer to a parameter via Embedded Python.
I’m rewriting the ObjectScript code to Embedded python and looking for the options how to deal with class parameters. Just don’t want to introduce a helper ObjectScript method to get the parameter value.
Thought it could be something autogenerated as it is for properties.
Described in Documentation. And here is an example.
How to use AfterInstallMessage ?