Skip to content

Commit fa8fe72

Browse files
Fix missing assignment (#3151)
Co-authored-by: Quentin Pradet <[email protected]>
1 parent 3eb91b0 commit fa8fe72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/esql/esql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _format_id(id: FieldType, allow_patterns: bool = False) -> str:
140140
if re.fullmatch(r"[a-zA-Z_@][a-zA-Z0-9_\.]*", s):
141141
return s
142142
# this identifier needs to be escaped
143-
s.replace("`", "``")
143+
s = s.replace("`", "``")
144144
return f"`{s}`"
145145

146146
@staticmethod

0 commit comments

Comments
 (0)