Skip to content

Commit

Permalink
qxqxqx
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Sep 14, 2024
1 parent 66ca049 commit 51f785e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/unit_tests/test_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@ def test_foo_foo_bar_bar(sync_remote_runnable: RemoteRunnable) -> None:
tracer = FakeTracer()
assert sync_remote_runnable.batch([1], config={"callbacks": [tracer]}) == [2]
assert len(tracer.runs) == 1
# Child run exists from server side (this fails)
assert len(tracer.runs[0].child_runs[0]) == 1 #
assert tracer.runs[0].child_runs[0].name == "RunnableLambda"


def test_batch(sync_remote_runnable: RemoteRunnable) -> None:
Expand Down
3 changes: 2 additions & 1 deletion tests/unit_tests/utils/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def _create_chain_run(
) -> Run:
if name is None:
# can't raise an exception from here, but can get a breakpoint
import pdb; pdb.set_trace()
# import pdb; pdb.set_trace()
pass
return super()._create_chain_run(
serialized,
inputs,
Expand Down

0 comments on commit 51f785e

Please sign in to comment.