You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two problems with the generated """query:... code above:
The string ending with 4 " characters: """" causes a syntax error
>>> print("""query: "\'foo\' = \"foo\"" x: "bar"""")
File "<stdin>", line 1
print("""query: "\'foo\' = \"foo\"" x: "bar"""")
^
SyntaxError: unterminated string literal (detected at line 1)
Even if I fix that syntax error, we lose the \ characters that were part of the original string (and we need so that the resulting string that is passed to the operator is valid textproto)
Hi there, I ran into this situation:
Given yaml like:
Boundary layer produces Python code like (whitespace added for clarity):
There are two problems with the generated
"""query:...
code above:""""
causes a syntax error\
characters that were part of the original string (and we need so that the resulting string that is passed to the operator is valid textproto)Expected:
The text was updated successfully, but these errors were encountered: