create a query with string variable using python gql and psycopg2 Let’s say Ia have the following string to be passed as query for an API call using python: