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 7D1C4200C45 for ; Tue, 14 Mar 2017 02:35:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 79DDB160B85; Tue, 14 Mar 2017 01:35:01 +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 C11A0160B5D for ; Tue, 14 Mar 2017 02:35:00 +0100 (CET) Received: (qmail 49811 invoked by uid 500); 14 Mar 2017 01:34:59 -0000 Mailing-List: contact dev-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 dev@airflow.incubator.apache.org Received: (qmail 49797 invoked by uid 99); 14 Mar 2017 01:34:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2017 01:34:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2E79A1819E4 for ; Tue, 14 Mar 2017 01:34:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id g_JBmC3tb1rF for ; Tue, 14 Mar 2017 01:34:57 +0000 (UTC) Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2903C5F295 for ; Tue, 14 Mar 2017 01:34:57 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id i1so124503997ota.3 for ; Mon, 13 Mar 2017 18:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Xd8+rOaF3ktifjStEHX5gnOHplTGH5siF2uJiTz+G3o=; b=CRnwoTZMbc1PcS5QiRmN2MdC9mP0o6nC4HutqZPPRwEqC765xPEWacLwHIxlkn7rI4 tmrpsEAq1dJNLnRrE/Wxzs3PwEQnNflXYJY1HRDeRwIJHhZ0AedsFEu+Q9YrjANFYLl1 1imc4bE/7duyioPunFwUKN8tvxtFqwBo+LKIPu+oI53eT7H7H6xqftaekVz6obDUwB3i dLSyAO2TPZvJx6blW9KC/sQHHiOTdYiUm4x1VGko75RauQkxKwEFFFLFKdukX6UIu9AJ OmW1PCitkMIyIEjjvEfFxQnSZN4ZlrYDDYZKlYQbVZpgNC2R1WhlInoDUGuTyu2T9ETJ wpUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Xd8+rOaF3ktifjStEHX5gnOHplTGH5siF2uJiTz+G3o=; b=VoXml8cFmty76JYQioon5xuU5taFOQdT11Hnds9tZov9ljd1v58r3XcfjS6X/bcHf9 xxZ/PKbDDs/jYehBv2gRKGTlGPyMtPIWhpBms18QYlviLT/xKtsnypwC6Ux54YiPp1XF nWDe/EXvQo5nPp/bXSm5EJV8eAYzpSVP4O/+44DsIQwYsy8XvxDNx9vDCwS7zd8Gudme 8pQwXlF3M0/k0k+0P8mk15qajtqyzoP2nsupC2ocLfETNF8ZA5HoWHf98fIQ9g8jDXxd XkxZjvmUIoVHHp7hSRakXoZ3BdbiGtlzsIbtZwwJOtS5rjLQVUOgYvbajnZN57573Kpy 9SHQ== X-Gm-Message-State: AFeK/H0moLYic2rXGK1fUlajvWjbBJNLeI4P8VRn+TaKolKfmq07wrpWwFXbrt0HlnzBPHTthqEqqReCGhQACw== X-Received: by 10.157.2.38 with SMTP id 35mr22290200otb.118.1489455296493; Mon, 13 Mar 2017 18:34:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.10.233 with HTTP; Mon, 13 Mar 2017 18:34:56 -0700 (PDT) From: Edgardo Vega Date: Mon, 13 Mar 2017 21:34:56 -0400 Message-ID: Subject: BashOperator Templated Command with Quotes To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c114dcadb3ef0054aa6d50f archived-at: Tue, 14 Mar 2017 01:35:01 -0000 --94eb2c114dcadb3ef0054aa6d50f Content-Type: text/plain; charset=UTF-8 I am trying to template a bash command and I need to have quotes in the command so bash_command= 'command opts="startTime={{ts}} endTime={{ (execution_date + macros.timedelta(hours=1)).isoformat() }}"' but jinja treats quotes as a literals. Any workaround to this problem, that this noob hasn't figured out? -- Cheers, Edgardo --94eb2c114dcadb3ef0054aa6d50f--