marchello Good day.
I also had this question, and I'm sharing my solution with you:
import catalogs
query = catalogs.query('select test_cmp."Id" as "Id", test_cmp."Name" as "Name", test_cmp."Data_Product" as "Product", test_cmp."Data_Agent" as "Agent" from "538777b0-cba4-4b1e-a188-8c36d1d7defe" as test_cmp where test_cmp."Name" = @test_cmp_name')
query.add_parameter("@test_cmp_name", "test name")
item["query_result"] = query.execute()