Document restrictions on ParameterExecutor() use
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 5 Mar 2024 21:07:22 +0000 (15:07 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 5 Mar 2024 21:07:22 +0000 (15:07 -0600)
src/pgwui_core/core.py

index c8543757d38c266442bd9ab9410cc4db44dce7a7..e08a098e56c3ed9bc43cac71d623e2b6a16ce825 100644 (file)
@@ -990,7 +990,9 @@ class UploadData(DBData):
 @attr.s
 class ParameterExecutor():
     '''Execute a parameterized psycopg3 statement
-    Must be mixed in with a DataLineProcessor.
+    Must be mixed in with a DataLineProcessor.  Unless all parameters
+    are vetted to prevent encoding errors, the DataLineProcessor must have
+    a ue (upload engine) attribute.
     '''
     def connection_details(self, server_side):
         if server_side: