betodealmeida commented on code in PR #33568:
URL: https://github.com/apache/superset/pull/33568#discussion_r2115915117


##########
superset/sql/parse.py:
##########
@@ -550,7 +550,7 @@ def _parse(cls, script: str, engine: str) -> 
list[exp.Expression]:
             last_statement = statements.pop()
             target = statements[-1]
             for node in statements[-1].walk():
-                if hasattr(node, "comments"):
+                if hasattr(node, "comments"):  # pragma: no cover

Review Comment:
   There were a couple lines that I couldn't hit with tests, but I thought it 
was safer to keep them, so I added the pragma.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to