Skip to content

Commit

Permalink
One more attampt
Browse files Browse the repository at this point in the history
  • Loading branch information
tssweeney committed Oct 29, 2024
1 parent 3a7e553 commit fd7b9d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weave/trace_server/clickhouse_trace_server_batched.py
Original file line number Diff line number Diff line change
Expand Up @@ -1865,9 +1865,6 @@ def _insert_call(self, ch_call: CallCHInsertable) -> None:
def _get_matched_calls_for_filters(
self, project_id: str, call_ids: list[str]
) -> list[tuple[ActionDispatchFilter, str, list[tsi.CallSchema]]]:
# TODO: this can be lifted to the top once core's deps are updated
import xxhash

"""Helper function to get calls that match action filters.
Returns a list of tuples containing (filter, matched_calls) pairs.
Expand Down Expand Up @@ -1938,6 +1935,9 @@ def _get_matched_calls_for_filters(
)
calls_res = self.calls_query(calls_query_req)

# TODO: this can be lifted to the top once core's deps are updated
import xxhash

# Match calls to filters
matched_filters_and_calls = []
for filter, filter_ref in filters:
Expand Down

0 comments on commit fd7b9d1

Please sign in to comment.