awx-zipline-ai 0.3.2__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.

@@ -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
- get_customer_warehouse_bucket(), metadata_conf_path, destination_file_path
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
@@ -57,7 +57,7 @@ def get_environ_arg(env_name, ignoreError=False) -> str:
57
57
  return value
58
58
 
59
59
 
60
- def get_customer_warehouse_bucket() -> str:
60
+ def get_default_warehouse_bucket() -> str:
61
61
  return f"zipline-warehouse-{get_customer_id()}"
62
62
 
63
63
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awx-zipline-ai
3
- Version: 0.3.2
3
+ Version: 0.3.5
4
4
  Summary: CLI tool for the Zipline AI platform
5
5
  Author-email: Zipline AI <hello@zipline.ai>
6
6
  License: Apache License 2.0
@@ -28,18 +28,18 @@ Requires-Dist: google-crc32c==1.7.1
28
28
  Requires-Dist: google-resumable-media==2.7.2
29
29
  Requires-Dist: googleapis-common-protos[grpc]==1.70.0
30
30
  Requires-Dist: grpc-google-iam-v1==0.14.2
31
- Requires-Dist: grpcio<=1.74.0,>=1.66.2
32
- Requires-Dist: grpcio-status<=1.74.0,>=1.62.3
31
+ Requires-Dist: grpcio==1.74.0
32
+ Requires-Dist: grpcio-status==1.74.0
33
33
  Requires-Dist: idna==3.10
34
34
  Requires-Dist: importlib-resources==6.5.2
35
35
  Requires-Dist: jmespath==1.0.1
36
36
  Requires-Dist: markdown-it-py==4.0.0
37
37
  Requires-Dist: mdurl==0.1.2
38
38
  Requires-Dist: proto-plus==1.26.1
39
- Requires-Dist: protobuf<=6.32.0,>=4.25.5
39
+ Requires-Dist: protobuf==6.32.0
40
40
  Requires-Dist: py4j==0.10.9.7
41
41
  Requires-Dist: pyasn1==0.6.1
42
- Requires-Dist: pyasn1-modules<=0.4.2
42
+ Requires-Dist: pyasn1-modules==0.4.2
43
43
  Requires-Dist: pygments==2.19.2
44
44
  Requires-Dist: pyspark==3.5.4
45
45
  Requires-Dist: python-dateutil==2.9.0.post0
@@ -49,9 +49,8 @@ Requires-Dist: rsa==4.9.1
49
49
  Requires-Dist: s3transfer==0.13.1
50
50
  Requires-Dist: six==1.17.0
51
51
  Requires-Dist: smmap==5.0.2
52
- Requires-Dist: thrift==0.20.0
52
+ Requires-Dist: thrift==0.21.0
53
53
  Requires-Dist: urllib3==2.5.0
54
- Requires-Dist: python-dotenv>=1.0.1
55
54
 
56
55
  ### Chronon Python API
57
56
 
@@ -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=u2mJrw1xZc8ECK_v9gQSshcVrJDmBb8L9oo7UnuoMAQ,11180
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=z4fTxe0D8z22O52888XvooL-yxMGhNq8aBcTw5Jr1-A,25117
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=Kex79ebLH0bDdq1k1dBK1EC7Y8691trMsvzrTYRQtVs,10780
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=iKJt-qzV3GNLo8yTnc-X7NzKIpweozpS777NddCA74Q,19148
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.2.dist-info/METADATA,sha256=m8CnmxzTbKAeYbID-cKLbZLL9-_I1HapjnlQYOIWCXo,5789
93
- awx_zipline_ai-0.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- awx_zipline_ai-0.3.2.dist-info/entry_points.txt,sha256=EZGwU6w_Ve4BZ2z8zYrIJW0zMMon0IK2FIvIhoSzeqE,60
95
- awx_zipline_ai-0.3.2.dist-info/top_level.txt,sha256=PY-p-EGZt3eyJqEK5pzRx38U921A1_aRWyCS0a0blvQ,29
96
- awx_zipline_ai-0.3.2.dist-info/RECORD,,
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,,