Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 58139200BA2 for ; Sat, 1 Oct 2016 09:34:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 55243160AD5; Sat, 1 Oct 2016 07:34:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9A2F0160AE7 for ; Sat, 1 Oct 2016 09:34:24 +0200 (CEST) Received: (qmail 50914 invoked by uid 500); 1 Oct 2016 07:34:23 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 50892 invoked by uid 99); 1 Oct 2016 07:34:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2016 07:34:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 43F5C1A5294 for ; Sat, 1 Oct 2016 07:34:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5NU3InAK1ZF6 for ; Sat, 1 Oct 2016 07:34:21 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 0C9A35FB0F for ; Sat, 1 Oct 2016 07:34:20 +0000 (UTC) Received: (qmail 50682 invoked by uid 99); 1 Oct 2016 07:34:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2016 07:34:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 745372C0057 for ; Sat, 1 Oct 2016 07:34:20 +0000 (UTC) Date: Sat, 1 Oct 2016 07:34:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRFLOW-530) Update docs to reflect connection environment var has to be in uppercase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 01 Oct 2016 07:34:25 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15538097#comment-15538097 ] ASF subversion and git services commented on AIRFLOW-530: --------------------------------------------------------- Commit c02425d4839b557ad27c328886fb9367c013b1fb in incubator-airflow's branch refs/heads/master from [~daniel@memrise.com] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=c02425d ] [AIRFLOW-530] Update docs to reflect connection environment var has to be in uppercase Dear Airflow Maintainers, Please accept this PR that addresses the following issues: https://issues.apache.org/jira/browse/AIRFLOW-530 Right now, the documentation does not clearly state that connection names are converted to uppercase form when searched in the environment (https://github.com/apache/incubator-airflow/blob/ master/airflow/hooks/base_hook.py#L60-L60). This is confusing as the best practice in Airflow seems to be to define connections in lower case form. Closes #1811 from danielzohar/connection_env_var > Update docs to reflect connection environment var has to be in uppercase > ------------------------------------------------------------------------ > > Key: AIRFLOW-530 > URL: https://issues.apache.org/jira/browse/AIRFLOW-530 > Project: Apache Airflow > Issue Type: Improvement > Reporter: Daniel Zohar > Assignee: Daniel Zohar > Priority: Minor > > Right now, the documentation does not clearly state that connection names are converted to uppercase form when searched in the environment (https://github.com/apache/incubator-airflow/blob/master/airflow/hooks/base_hook.py#L60-L60). > This is confusing as the best practice in Airflow seems to be to define connections in lower case form. -- This message was sent by Atlassian JIRA (v6.3.4#6332)