Skip to content
Snippets Groups Projects
Commit 1245278a authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-190: fixed python deprecation-warning

parent e02e1509
No related branches found
No related tags found
1 merge request!252Resolve TMSS-190
......@@ -659,7 +659,7 @@ class RADatabase(PostgresDatabaseConnection):
return self._cursor.rowcount > 0
def _to_fields_and_value_placeholders_strings(self, fields: collections.Iterable) -> (str, str):
def _to_fields_and_value_placeholders_strings(self, fields: collections.abc.Iterable) -> (str, str):
"""convert a list of fields (column names) into a tuple of a comma-seperated string and a comma-seperated placeholder string
For usage with prepared statements (postgres mogrify)"""
fields_str = ', '.join(fields)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment