From be934bc07c5e3515b0c944e591cf3b7ac32f6644 Mon Sep 17 00:00:00 2001 From: Hemang Date: Fri, 31 Jan 2025 16:03:10 +0100 Subject: [PATCH] Add a TODO to switch usage to an async function to push traces via the SDK once that is available. --- proxy/utils/explorer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/utils/explorer.py b/proxy/utils/explorer.py index 252406d..4b561f8 100644 --- a/proxy/utils/explorer.py +++ b/proxy/utils/explorer.py @@ -28,6 +28,7 @@ def push_trace( api_key = invariant_authorization.split("Bearer ")[1] client = Client(api_url=api_url, api_key=api_key) try: + # TODO: Change this to the async version once that is available push_trace_response = client.create_request_and_push_trace( messages=messages, dataset=dataset_name )