From commits-return-1402-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Tue Aug 28 00:49:27 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BB21E18067B for ; Tue, 28 Aug 2018 00:49:26 +0200 (CEST) Received: (qmail 4398 invoked by uid 500); 27 Aug 2018 22:49:25 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 4366 invoked by uid 99); 27 Aug 2018 22:49:25 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2018 22:49:25 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 4E2BE82620; Mon, 27 Aug 2018 22:49:25 +0000 (UTC) Date: Mon, 27 Aug 2018 22:49:26 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] 01/02: linting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: hugh@apache.org In-Reply-To: <153541016501.979.14804800544212357251@gitbox.apache.org> References: <153541016501.979.14804800544212357251@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/update-annotation-model X-Git-Reftype: branch X-Git-Rev: 70116b26e10870900a2427c87cac952b3105f7c6 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180827224925.4E2BE82620@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch update-annotation-model in repository https://gitbox.apache.org/repos/asf/incubator-superset.git commit 70116b26e10870900a2427c87cac952b3105f7c6 Author: Hugh Miles AuthorDate: Mon Aug 27 15:48:48 2018 -0700 linting --- superset/views/annotations.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/superset/views/annotations.py b/superset/views/annotations.py index 986b3b2..ecf3f5c 100644 --- a/superset/views/annotations.py +++ b/superset/views/annotations.py @@ -22,9 +22,12 @@ class AnnotationModelView(SupersetModelView, DeleteMixin): # noqa add_title = _('Add Annotation') edit_title = _('Edit Annotation') - list_columns = ['layer', 'short_descr', 'start_dttm', 'end_dttm', 'annotation_metadata'] + list_columns = ['layer', 'short_descr', 'start_dttm', 'end_dttm', + 'annotation_metadata'] edit_columns = [ - 'layer', 'short_descr', 'long_descr', 'start_dttm', 'end_dttm', 'annotation_metadata'] + 'layer', 'short_descr', 'long_descr', 'start_dttm', 'end_dttm', + 'annotation_metadata'] + add_columns = edit_columns label_columns = {