Closed Ethosa closed 12 months ago
Python function with arguments
def myFunc(some, required, arguments = "asda", here = 5): pass
How I can build JsonNode and send it as unpacked keyword arguments?
var kwargs = %*{"some": 5, "required": "hello", "arguments": 123} var pyDict = nimValueToPy(kwargs) myFunc( ... ? ... )
Solution for me:
kwargs
locals
myFunc
eval
Python function with arguments
How I can build JsonNode and send it as unpacked keyword arguments?