kaxil commented on issue #17032:
URL: https://github.com/apache/airflow/issues/17032#issuecomment-880826076


   Wouldn't just using `strip` where you define the large SQL suffice?
   
   ```python
   ❯ python
   Python 3.8.5 (default, Sep  4 2020, 02:22:02)
   [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
   Type "help", "copyright", "credits" or "license" for more information.
   >>> str1 = "\n Starbucks has the best coffee \n"
   >>> newstr = str1.strip()
   >>> print(newstr)
   Starbucks has the best coffee
   
   >>> str1 = "\n Starbucks has the best \n hi coffee \n"
   >>> newstr = str1.strip()
   >>> print(newstr)
   Starbucks has the best
    hi coffee
   >>>
   ```


-- 
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]


Reply via email to