From e7eae7015ead92a7df323939fa8e1b30970ecbf8 Mon Sep 17 00:00:00 2001 From: Li Yu Date: Fri, 10 Nov 2023 16:50:10 -0500 Subject: [PATCH] fix build issue --- channelDemoCatalog/sales.py | 2 ++ channelDemoStore/sales.py | 2 ++ channelDemoWeb/sales.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/channelDemoCatalog/sales.py b/channelDemoCatalog/sales.py index 9bab1dd..3677360 100644 --- a/channelDemoCatalog/sales.py +++ b/channelDemoCatalog/sales.py @@ -5,12 +5,14 @@ from framework.feature_factory.feature_family import FeatureFamily from framework.feature_factory import Helpers from framework.configobj import ConfigObj +from framework.spark_singleton import SparkSingleton import inspect # joiner_func = Helpers()._register_joiner_func() multipliable = Helpers()._register_feature_func() base_feat = Helpers()._register_feature_func() +spark = SparkSingleton.get_instance() # Extend FeatureFamily class Sales(FeatureFamily): diff --git a/channelDemoStore/sales.py b/channelDemoStore/sales.py index f9ae16a..30a6160 100644 --- a/channelDemoStore/sales.py +++ b/channelDemoStore/sales.py @@ -4,12 +4,14 @@ from framework.feature_factory.feature_family import FeatureFamily from framework.feature_factory import Helpers from framework.configobj import ConfigObj +from framework.spark_singleton import SparkSingleton import inspect # joiner_func = Helpers()._register_joiner_func() multipliable = Helpers()._register_feature_func() base_feat = Helpers()._register_feature_func() +spark = SparkSingleton.get_instance() # Extend FeatureFamily class Sales(FeatureFamily): diff --git a/channelDemoWeb/sales.py b/channelDemoWeb/sales.py index 69b0663..15ff996 100644 --- a/channelDemoWeb/sales.py +++ b/channelDemoWeb/sales.py @@ -5,12 +5,14 @@ from framework.feature_factory.feature_family import FeatureFamily from framework.feature_factory import Helpers from framework.configobj import ConfigObj +from framework.spark_singleton import SparkSingleton import inspect # joiner_func = Helpers()._register_joiner_func() multipliable = Helpers()._register_feature_func() base_feat = Helpers()._register_feature_func() +spark = SparkSingleton.get_instance() # Extend FeatureFamily class Sales(FeatureFamily):