So, any operator extending PythonOperator expects template_fields to follow Jinja syntax rules. In the documentation, we do not explicitly mention the list of template fields for any operator. A thought: we just mentioned that templating is possible. L ke here Is it worth adding all possible t...
in create_tag_template request = datacatalog.CreateTagTemplateRequest(request) File "/Users/X/.virtualenvs/airflow/lib/python3.6/site-packages/proto/message.py", line 461, in __init__ pb_value = marshal.to_proto(pb_type, value) File "/Users/X/.virtualenvs/airflow/lib/python3.6/site-pa...
L = [1,2,3,4,5,6,7,8,9] 要生成下面这样的字典: {1: 10, 2: 20, 3: 30, 4: 40, 5: 50, 6: 60, 7: 70, 8: 80, 9: 90} 以前需要这样: dict([(v, v*10) for v in L]) 现在可以直接这样: {v: v*10 for v in L}
DictionaryHouse/Dirpath_ListPublic NotificationsYou must be signed in to change notification settings Fork61 Star157 Code Issues Latest commit lianfeng30 Add files via upload Oct 20, 2017 47705c1·Oct 20, 2017 History History