From efc9fed65482a5c65399402c58bb64f0f606e0eb Mon Sep 17 00:00:00 2001 From: Alexey Volkov Date: Thu, 5 Sep 2019 13:06:23 -0700 Subject: [PATCH] Fixed the lightweight sample --- .../Lightweight Python components - basics.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/core/lightweight_component/Lightweight Python components - basics.ipynb b/samples/core/lightweight_component/Lightweight Python components - basics.ipynb index bbf1b3958028..632950a34ff7 100644 --- a/samples/core/lightweight_component/Lightweight Python components - basics.ipynb +++ b/samples/core/lightweight_component/Lightweight Python components - basics.ipynb @@ -102,7 +102,7 @@ "#Advanced function\n", "#Demonstrates imports, helper functions and multiple outputs\n", "from typing import NamedTuple\n", - "def my_divmod(dividend: float, divisor:float) -> NamedTuple('MyDivmodOutput', [('quotient', float), ('remainder', float), ('mlpipeline_ui_metadata', 'UI_metadata'), ('mlpipeline_metrics', Metrics)]):\n", + "def my_divmod(dividend: float, divisor:float) -> NamedTuple('MyDivmodOutput', [('quotient', float), ('remainder', float), ('mlpipeline_ui_metadata', 'UI_metadata'), ('mlpipeline_metrics', 'Metrics')]):\n", " '''Divides two numbers and calculate the quotient and remainder'''\n", " #Pip installs inside a component function.\n", " #NOTE: installs should be placed right at the beginning to avoid upgrading a package\n",