fix: simplified functional call to iterator (semgrep)
This commit is contained in:
parent
2fce72bbad
commit
2e0ca7d3a7
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ class PostgresDatabase(PostgresExceptionUtil, Database):
|
|||
schema=sql.Identifier(self.db_schema),
|
||||
table=sql.Identifier("tab" + doctype),
|
||||
constraint=sql.Identifier(constraint_name),
|
||||
fields=sql.SQL(", ").join(map(sql.Identifier, fields)),
|
||||
fields=sql.SQL(", ").join(sql.Identifier(field) for field in fields),
|
||||
)
|
||||
.as_string(self._conn)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue