You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/06/21 14:44:49 UTC

[GitHub] [airflow] ashb commented on a change in pull request #4779: [AIRFLOW-3958] List tasks upstream work in chain

ashb commented on a change in pull request #4779: [AIRFLOW-3958] List tasks upstream work in chain
URL: https://github.com/apache/airflow/pull/4779#discussion_r296266991
 
 

 ##########
 File path: airflow/utils/helpers.py
 ##########
 @@ -150,19 +151,50 @@ def as_flattened_list(iterable):
 
 
 def chain(*tasks):
-    """
+    r"""
 
 Review comment:
   > Both string and bytes literals may optionally be prefixed with a letter 'r' or 'R'; such strings are called raw strings and treat backslashes as literal characters
   
   This makes the `\` in the ascii diagram be a backslash. I imagine otherwise it would complain about `\ ` being an invalid escape.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services