datapipelab 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- datapipelab/pipeline_config.py +8 -1
- {datapipelab-0.1.3.dist-info → datapipelab-0.1.4.dist-info}/METADATA +1 -1
- {datapipelab-0.1.3.dist-info → datapipelab-0.1.4.dist-info}/RECORD +5 -5
- {datapipelab-0.1.3.dist-info → datapipelab-0.1.4.dist-info}/WHEEL +0 -0
- {datapipelab-0.1.3.dist-info → datapipelab-0.1.4.dist-info}/top_level.txt +0 -0
datapipelab/pipeline_config.py
CHANGED
@@ -6,7 +6,14 @@ class PipelineConfig:
|
|
6
6
|
print(config_file)
|
7
7
|
self.params = params
|
8
8
|
self.config_file = config_file
|
9
|
-
|
9
|
+
# If config file is instance of string, it is a path to the config file
|
10
|
+
self.config_file = config_file
|
11
|
+
if isinstance(self.config_file, str):
|
12
|
+
self.load_json_config_file()
|
13
|
+
elif isinstance(self.config_file, dict):
|
14
|
+
self.pipeline_settings = config_file
|
15
|
+
else:
|
16
|
+
raise ValueError("Invalid config file type. Must be a string or a dictionary.")
|
10
17
|
self.sources = {}
|
11
18
|
self.processors = {}
|
12
19
|
self.sinks = {}
|
@@ -2,7 +2,7 @@ datapipelab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
datapipelab/engine.py,sha256=dYm39Yb0Eqt76pwdc-ilzZNxehMKdiuidE557YexHaU,437
|
3
3
|
datapipelab/logger.py,sha256=Ugv0A4TfD3JWCWXNWu0lURcnfAEyuVrK3IrvVVgcHBo,864
|
4
4
|
datapipelab/pipeline.py,sha256=dw9D9KM_hztt9g_YzqoNgQBRyCYR92cRZwrU5duP_Pg,1464
|
5
|
-
datapipelab/pipeline_config.py,sha256=
|
5
|
+
datapipelab/pipeline_config.py,sha256=dKVWz_FH5448a1ZE9eIu8ANagEceI_l4QNICbXrRudk,3411
|
6
6
|
datapipelab/pipeline_handler.py,sha256=1t5wwsaVUMXXmsEa-Qt-6jtMIyAZmX1hgo2I_UgbtiM,3265
|
7
7
|
datapipelab/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
datapipelab/app/connector_node/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -21,7 +21,7 @@ datapipelab/app/node/source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
21
21
|
datapipelab/app/node/source/delta_node.py,sha256=gg7SfuKBAAfjk6OX2jNrot9XX61HoBe3us3D8O-dscE,529
|
22
22
|
datapipelab/app/node/source/hive_node.py,sha256=h_AMCnnmon7uLRIGsaHAPWEReD3VaWZXnz9r0TpLGNM,478
|
23
23
|
datapipelab/app/node/source/spark_node.py,sha256=S_x2atRFPDnXmhCUtcmaLc4BDFd2H4uQq6wnEJb7Uug,480
|
24
|
-
datapipelab-0.1.
|
25
|
-
datapipelab-0.1.
|
26
|
-
datapipelab-0.1.
|
27
|
-
datapipelab-0.1.
|
24
|
+
datapipelab-0.1.4.dist-info/METADATA,sha256=O_P8alSEnX3hM-gLN6OPFfeYykpOO_-ymns8OKUtJU4,312
|
25
|
+
datapipelab-0.1.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
26
|
+
datapipelab-0.1.4.dist-info/top_level.txt,sha256=HgeBjHvXorKzvNqU5BNPutoI771HtiqVit9_-0Zyrb4,12
|
27
|
+
datapipelab-0.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|