Use QueryNoTemplate from psycopg instead of Query
Psycopg 3.3.0 introduced a new type of query, QueryNoTemplate. The "old" Query is now a union between QueryNoTemplate and Template. This new template type could allow to benefit from the T-String when building queries. However, as it was introduced in Python 3.14, we don't use this type of string. So, let's use QueryNoTemplate instead of Query in our own code.