awx-zipline-ai 0.3.3__py3-none-any.whl → 0.3.5__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.
Potentially problematic release.
This version of awx-zipline-ai might be problematic. Click here for more details.
- ai/chronon/repo/default_runner.py +1 -0
- ai/chronon/repo/gcp.py +1 -2
- ai/chronon/repo/run.py +6 -0
- ai/chronon/repo/utils.py +1 -1
- {awx_zipline_ai-0.3.3.dist-info → awx_zipline_ai-0.3.5.dist-info}/METADATA +1 -1
- {awx_zipline_ai-0.3.3.dist-info → awx_zipline_ai-0.3.5.dist-info}/RECORD +9 -9
- {awx_zipline_ai-0.3.3.dist-info → awx_zipline_ai-0.3.5.dist-info}/WHEEL +0 -0
- {awx_zipline_ai-0.3.3.dist-info → awx_zipline_ai-0.3.5.dist-info}/entry_points.txt +0 -0
- {awx_zipline_ai-0.3.3.dist-info → awx_zipline_ai-0.3.5.dist-info}/top_level.txt +0 -0
|
@@ -27,6 +27,7 @@ class Runner:
|
|
|
27
27
|
self.online_jar = args.get(ONLINE_JAR_ARG)
|
|
28
28
|
self.online_class = args.get(ONLINE_CLASS_ARG)
|
|
29
29
|
self.online_args = args.get(ONLINE_ARGS)
|
|
30
|
+
self.warehouse_bucket = args.get("warehouse_bucket", utils.get_default_warehouse_bucket())
|
|
30
31
|
|
|
31
32
|
self.conf_type = (args.get("conf_type") or "").replace(
|
|
32
33
|
"-", "_"
|
ai/chronon/repo/gcp.py
CHANGED
|
@@ -17,7 +17,6 @@ from ai.chronon.repo.utils import (
|
|
|
17
17
|
check_call,
|
|
18
18
|
check_output,
|
|
19
19
|
extract_filename_from_path,
|
|
20
|
-
get_customer_warehouse_bucket,
|
|
21
20
|
get_environ_arg,
|
|
22
21
|
retry_decorator,
|
|
23
22
|
split_date_range,
|
|
@@ -248,7 +247,7 @@ class GcpRunner(Runner):
|
|
|
248
247
|
)
|
|
249
248
|
gcs_files.append(
|
|
250
249
|
GcpRunner.upload_gcs_blob(
|
|
251
|
-
|
|
250
|
+
self.warehouse_bucket, metadata_conf_path, destination_file_path
|
|
252
251
|
)
|
|
253
252
|
)
|
|
254
253
|
|
ai/chronon/repo/run.py
CHANGED
|
@@ -78,6 +78,7 @@ def set_defaults(ctx):
|
|
|
78
78
|
"render_info": os.path.join(chronon_repo_path, RENDER_INFO_DEFAULT_SCRIPT),
|
|
79
79
|
"project_conf": obj.get("project_conf"),
|
|
80
80
|
"artifact_prefix": os.environ.get("ARTIFACT_PREFIX"),
|
|
81
|
+
"warehouse_bucket": os.environ.get("WAREHOUSE_BUCKET"),
|
|
81
82
|
"flink_state_uri": os.environ.get("FLINK_STATE_URI"),
|
|
82
83
|
}
|
|
83
84
|
for key, value in defaults.items():
|
|
@@ -202,6 +203,10 @@ def validate_additional_jars(ctx, param, value):
|
|
|
202
203
|
"--artifact-prefix",
|
|
203
204
|
help="Remote artifact URI to install zipline client artifacts necessary for interacting with Zipline infrastructure.",
|
|
204
205
|
)
|
|
206
|
+
@click.option(
|
|
207
|
+
"--warehouse-bucket",
|
|
208
|
+
help="GCS or S3 bucket to use as warehouse for staging metadata/configs.",
|
|
209
|
+
)
|
|
205
210
|
@click.option("--disable-cloud-logging", is_flag=True, default=False, help="Disables cloud logging")
|
|
206
211
|
@click.option(
|
|
207
212
|
"--enable-debug",
|
|
@@ -250,6 +255,7 @@ def main(
|
|
|
250
255
|
validate_rows,
|
|
251
256
|
join_part_name,
|
|
252
257
|
artifact_prefix,
|
|
258
|
+
warehouse_bucket,
|
|
253
259
|
disable_cloud_logging,
|
|
254
260
|
additional_jars,
|
|
255
261
|
enable_debug,
|
ai/chronon/repo/utils.py
CHANGED
|
@@ -40,19 +40,19 @@ ai/chronon/repo/aws.py,sha256=iaFaE-J31Du4hNzx9vknOX5j-A-1OfzeGBhstO2FogE,11745
|
|
|
40
40
|
ai/chronon/repo/cluster.py,sha256=_dUFMPmjgzRQSSKJVP2qwyGfQLPw0BiUnlUNRPqJY1c,4972
|
|
41
41
|
ai/chronon/repo/compile.py,sha256=bJCDe0Ubv74eOkVDfSeJ3BMcb6yI03Wy4jvzQBivQH4,1820
|
|
42
42
|
ai/chronon/repo/constants.py,sha256=JRDjvV2ZOSIxWJfXmnBngvtRIDBiU8A7869yTzZDiJc,5075
|
|
43
|
-
ai/chronon/repo/default_runner.py,sha256=
|
|
43
|
+
ai/chronon/repo/default_runner.py,sha256=aD4eBfODIM-gl8XZ3fAP7y2-3jzN7dCMriEiPeiCDDQ,11279
|
|
44
44
|
ai/chronon/repo/explore.py,sha256=rmpUwODc69Gdvx9rYj8vx-Xg5UWD9k1TvBDrs716oUE,14584
|
|
45
45
|
ai/chronon/repo/extract_objects.py,sha256=cyXX07icGTHUzrw__SeQpO76rPMt7jHFnEW08lz56io,4761
|
|
46
|
-
ai/chronon/repo/gcp.py,sha256=
|
|
46
|
+
ai/chronon/repo/gcp.py,sha256=hFlmIZ7-mfaGmhjsdmmAhmSLfpvr9aDJoHNxKzrXWXg,25072
|
|
47
47
|
ai/chronon/repo/gitpython_utils.py,sha256=HIcQNFMf68G0qHvIbk7HSwkcqFA97YrcMsgXw5qw-ow,435
|
|
48
48
|
ai/chronon/repo/hub_runner.py,sha256=jU3x3cwbsClWvmg2eyOMCDLOV6RhbIedKs89IAgP5Wc,8920
|
|
49
49
|
ai/chronon/repo/hub_uploader.py,sha256=2oAAnIru1d7mDq5xAYRt7KWlZ0o_YhQujfGpsL5ph9E,3995
|
|
50
50
|
ai/chronon/repo/init.py,sha256=9Xhf4oeKuDtxpiS6kNf6rOju8-u7VyQDy3BTiMoSaS4,1740
|
|
51
51
|
ai/chronon/repo/join_backfill.py,sha256=WLN9TY6bpupd5T5BFcrTH6qSqpy39P8O9ZvrEhs9vzQ,4024
|
|
52
|
-
ai/chronon/repo/run.py,sha256=
|
|
52
|
+
ai/chronon/repo/run.py,sha256=v91ZEL4lZ5pi2mOX2qdfAE5C_xsXFVKiUR2ZgB_VWx4,10988
|
|
53
53
|
ai/chronon/repo/serializer.py,sha256=-nLxTIT-YR7evDCCTAsL_8NusrRz-wFwn-AcBFF7Ocw,4979
|
|
54
54
|
ai/chronon/repo/team_json_utils.py,sha256=JsUc_KwTFn4VMn1ZYwJAPTIeSOfUsDoywzTsBr9Oi70,1472
|
|
55
|
-
ai/chronon/repo/utils.py,sha256=
|
|
55
|
+
ai/chronon/repo/utils.py,sha256=vuwxMNbC1UMzecdOVkwH-i1_IlZUzVOgjl4u3YDT09w,19147
|
|
56
56
|
ai/chronon/repo/zipline.py,sha256=ktWaSbvto3FK5LmB5lsbztOlhcYEbNeVGmznPMk8R3w,1050
|
|
57
57
|
ai/chronon/repo/zipline_hub.py,sha256=laNoRdu_WrAbwE62YMCb7S2pxV4J5JZ0laKW4Za7mTs,12889
|
|
58
58
|
ai/chronon/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -89,8 +89,8 @@ gen_thrift/observability/ttypes.py,sha256=QTKvQ9zqgbj4UcujIs8LuvDXvuyONWTrtsoiQB
|
|
|
89
89
|
gen_thrift/planner/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
|
|
90
90
|
gen_thrift/planner/constants.py,sha256=Z7iGhv-3ePR_U5Z70F0Cqycz6WBJbGvMaJ80bwMaIjc,388
|
|
91
91
|
gen_thrift/planner/ttypes.py,sha256=EXfaw3bPwax8Bl4EfF9b-5KwQW0-9kby4NCiZnIIZZ8,67348
|
|
92
|
-
awx_zipline_ai-0.3.
|
|
93
|
-
awx_zipline_ai-0.3.
|
|
94
|
-
awx_zipline_ai-0.3.
|
|
95
|
-
awx_zipline_ai-0.3.
|
|
96
|
-
awx_zipline_ai-0.3.
|
|
92
|
+
awx_zipline_ai-0.3.5.dist-info/METADATA,sha256=VbjG35aLStavwwkmyCHd-rtqjbzdVHAmCb9WvBn9QQE,5726
|
|
93
|
+
awx_zipline_ai-0.3.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
94
|
+
awx_zipline_ai-0.3.5.dist-info/entry_points.txt,sha256=EZGwU6w_Ve4BZ2z8zYrIJW0zMMon0IK2FIvIhoSzeqE,60
|
|
95
|
+
awx_zipline_ai-0.3.5.dist-info/top_level.txt,sha256=PY-p-EGZt3eyJqEK5pzRx38U921A1_aRWyCS0a0blvQ,29
|
|
96
|
+
awx_zipline_ai-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|