Let's say you have Python including variable-length arguments methods. How can you call it from ObjectScript?
deftest1(*args)returntest2You can call this "a.py" from ObjectScript as below. For **kwargs argument, create Dynamic Object in ObjectScript and put it into methods with <variablename>... (3 dots) format.
Do you like playing ChatGPT? With this way, you can call ChatGPT APIs not only from Language=python method but from ObjectScript world. As described in OpenAI page , ChatCompletion.create method of OpenAI library has **kwargs argument.
.png)



%20(2).jpg)

