Hi all, How to pass connection object to a python ...
# general
i
Hi all, How to pass connection object to a python file using pulumi.local Here is the scenario, connection_object=<object created for connecting DB> Query = <query to be executed>
Copy code
random = local.Command(resource_name, create=f'''python3 python_test.py "{query}" "{connection_object}"''')
But I am getting below error /bin/sh: 1: cannot open trino.dbapi.Connection: No such file