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 2CA1A200CF9 for ; Wed, 26 Jul 2017 16:54:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B8D9168F54; Wed, 26 Jul 2017 14:54:14 +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 0FB35168F55 for ; Wed, 26 Jul 2017 16:54:12 +0200 (CEST) Received: (qmail 89916 invoked by uid 500); 26 Jul 2017 14:54:12 -0000 Mailing-List: contact commits-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list commits@ariatosca.incubator.apache.org Received: (qmail 89871 invoked by uid 99); 26 Jul 2017 14:54:12 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2017 14:54:12 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 739D7E964C; Wed, 26 Jul 2017 14:54:11 +0000 (UTC) From: mxmrlv To: commits@ariatosca.apache.org Reply-To: commits@ariatosca.apache.org References: In-Reply-To: Subject: [GitHub] incubator-ariatosca pull request #187: ARIA-313 Fix handling the `required` ... Content-Type: text/plain Message-Id: <20170726145411.739D7E964C@git1-us-west.apache.org> Date: Wed, 26 Jul 2017 14:54:11 +0000 (UTC) archived-at: Wed, 26 Jul 2017 14:54:14 -0000 Github user mxmrlv commented on a diff in the pull request: https://github.com/apache/incubator-ariatosca/pull/187#discussion_r129570988 --- Diff: aria/modeling/service_template.py --- @@ -343,6 +343,11 @@ def instantiate(self, container, model_storage, inputs=None): # pylint: disable context = ConsumptionContext.get_thread_local() context.modeling.instance = service + utils.validate_no_undeclared_inputs(declared_inputs=self.inputs, --- End diff -- Handle cases where `supplied_inputs` is `None` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---