amfs-http-server 0.3.66__tar.gz → 0.3.67__tar.gz
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.
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/PKG-INFO +1 -1
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/pyproject.toml +1 -1
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/server.py +9 -1
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/.gitignore +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/__init__.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/auth.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/capture.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/models.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/openrouter_proxy.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/pro_provider.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/pro_proxy.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/sse.py +0 -0
- {amfs_http_server-0.3.66 → amfs_http_server-0.3.67}/src/amfs_http/tenant_middleware.py +0 -0
|
@@ -9834,7 +9834,15 @@ async def ingest_webhook(
|
|
|
9834
9834
|
registry = ConnectorRegistry()
|
|
9835
9835
|
connector = registry.get(connector_name)
|
|
9836
9836
|
if connector:
|
|
9837
|
-
|
|
9837
|
+
# A connector transforms the decoded payload: ConnectorABC.transform
|
|
9838
|
+
# takes the dict, which is what connectors are written and tested
|
|
9839
|
+
# against. The ingester calls its transforms with the WebhookEvent it
|
|
9840
|
+
# built instead, so registering the bound method as-is handed every
|
|
9841
|
+
# connector the event, and PagerDuty's first .get() raised: a 500 on
|
|
9842
|
+
# every delivery.
|
|
9843
|
+
ingester.register_transform(
|
|
9844
|
+
"*", lambda event: connector.transform(event.payload)
|
|
9845
|
+
)
|
|
9838
9846
|
except Exception:
|
|
9839
9847
|
pass
|
|
9840
9848
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|