Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
agola11 committed Dec 12, 2024
1 parent 93558a1 commit 0593cc1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,13 +494,10 @@ def __init__(
if info is None or isinstance(info, ls_schemas.LangSmithInfo)
else ls_schemas.LangSmithInfo(**info)
)
self.compressed_multipart_buffer = ...
weakref.finalize(self, close_session, self.session)
atexit.register(close_session, session_)
# Initialize auto batching
if auto_batch_tracing and _compression_enabled:
...
elif auto_batch_tracing:
if auto_batch_tracing:
self.tracing_queue: Optional[PriorityQueue] = PriorityQueue()

threading.Thread(
Expand Down Expand Up @@ -1298,10 +1295,6 @@ def create_run(
self.tracing_queue.put(
TracingQueueItem(run_create["dotted_order"], serialized_op)
)
elif os.environ["COMP"]:
# Do something different
# Use existing serialized_run_dict

else:
# Neither Rust nor Python batch ingestion is configured,
# fall back to the non-batch approach.
Expand Down

0 comments on commit 0593cc1

Please sign in to comment.