UncountablePythonSDK 0.0.78__py3-none-any.whl → 0.0.79__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 UncountablePythonSDK might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: UncountablePythonSDK
3
- Version: 0.0.78
3
+ Version: 0.0.79
4
4
  Summary: Uncountable SDK
5
5
  Project-URL: Homepage, https://github.com/uncountableinc/uncountable-python-sdk
6
6
  Project-URL: Repository, https://github.com/uncountableinc/uncountable-python-sdk.git
@@ -121,7 +121,7 @@ uncountable/integration/queue_runner/datastore/interface.py,sha256=j4D-zVvLq-48V
121
121
  uncountable/integration/queue_runner/datastore/model.py,sha256=8-RI5A2yPZVGBLWINVmMd6VOl_oHtqGtnaNXcapAChw,577
122
122
  uncountable/integration/secret_retrieval/__init__.py,sha256=3QXVj35w8rRMxVvmmsViFYDi3lcb3g70incfalOEm6o,87
123
123
  uncountable/integration/secret_retrieval/retrieve_secret.py,sha256=9iz9N8Z-B68QwFCXsx8hTYbgDbk06ejkJ3RQ9mCLMyM,3000
124
- uncountable/integration/webhook_server/entrypoint.py,sha256=aaulH6GS7uvBw1jPrZwPDS3mRE9NY-lKxuX7vtoJcGg,5407
124
+ uncountable/integration/webhook_server/entrypoint.py,sha256=yQWQq_k3kbJkSsEEt6k22YwhXekezJZfV0rnn-hP-Yo,5516
125
125
  uncountable/types/__init__.py,sha256=OAuDaFSXysVPw0Y8slVJuBviSNfAXNzPKKG2eGHeeM8,9028
126
126
  uncountable/types/async_batch.py,sha256=_OhT25_dEVts_z_n1kqfJH3xlZg3btLqR6TNkfFLlXE,609
127
127
  uncountable/types/async_batch_processor.py,sha256=DJn9KdgUv_l7ojCVJ_d9wCS3GUNc21b5cOrpunty2KU,13129
@@ -285,7 +285,7 @@ uncountable/types/api/triggers/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr
285
285
  uncountable/types/api/triggers/run_trigger.py,sha256=-oZgPyn43xEKSCs81DVNzwaYMCdRJxbM9GY6fsqKwf4,1090
286
286
  uncountable/types/api/uploader/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr8APdZYUniAor8,55
287
287
  uncountable/types/api/uploader/invoke_uploader.py,sha256=6mwVG136oLp9JcbB2I-kZnrcm3aeZzYZB-SFjEImY2o,1314
288
- UncountablePythonSDK-0.0.78.dist-info/METADATA,sha256=z7rTA15JsIE1WhHYiuLtKruYxb51j5FN6mx2rG31EDc,2051
289
- UncountablePythonSDK-0.0.78.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
290
- UncountablePythonSDK-0.0.78.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
291
- UncountablePythonSDK-0.0.78.dist-info/RECORD,,
288
+ UncountablePythonSDK-0.0.79.dist-info/METADATA,sha256=iq6fGPYZf2nEIM20TliAWLslL5xwXV9D9c6Y4jROeKA,2051
289
+ UncountablePythonSDK-0.0.79.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
290
+ UncountablePythonSDK-0.0.79.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
291
+ UncountablePythonSDK-0.0.79.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.4.0)
2
+ Generator: setuptools (75.5.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -96,7 +96,6 @@ def register_route(
96
96
  ) -> None:
97
97
  route = f"/{profile_meta.name}/{job.id}"
98
98
 
99
- @app.route(route, methods=["POST"])
100
99
  def handle_webhook() -> ResponseReturnValue:
101
100
  with server_logger.push_scope(route):
102
101
  try:
@@ -138,6 +137,13 @@ def register_route(
138
137
  server_logger.log_exception(e)
139
138
  return WebhookException.unknown_error().make_error_response()
140
139
 
140
+ app.add_url_rule(
141
+ route,
142
+ endpoint=f"handle_webhook_{job.id}",
143
+ view_func=handle_webhook,
144
+ methods=["POST"],
145
+ )
146
+
141
147
  server_logger.log_info(f"job {job.id} webhook registered at: {route}")
142
148
 
143
149