projects
/
pgwui_core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77de60c
)
Document restrictions on ParameterExecutor() use
author
Karl O. Pinc
<kop@karlpinc.com>
Tue, 5 Mar 2024 21:07:22 +0000
(15:07 -0600)
committer
Karl O. Pinc
<kop@karlpinc.com>
Tue, 5 Mar 2024 21:07:22 +0000
(15:07 -0600)
src/pgwui_core/core.py
patch
|
blob
|
history
diff --git
a/src/pgwui_core/core.py
b/src/pgwui_core/core.py
index c8543757d38c266442bd9ab9410cc4db44dce7a7..e08a098e56c3ed9bc43cac71d623e2b6a16ce825 100644
(file)
--- a/
src/pgwui_core/core.py
+++ b/
src/pgwui_core/core.py
@@
-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: