Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed May 23, 2024
1 parent a94fd5a commit 67a2224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description = "Managed isolated environments for Python"
authors = [{ name = "Features & Labels", email = "[email protected]"}]
requires-python = ">=3.8"
dependencies = [
"grpcio>=1.49",
"grpcio==1.64.0",
"protobuf",
# These are non-intrusive packages with no transitive dependencies.
# They are also used in the agents themselves.
Expand Down
2 changes: 2 additions & 0 deletions src/isolate/connections/grpc/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def Run(
request: definitions.FunctionCall,
context: ServicerContext,
) -> Iterator[definitions.PartialRunResult]:
yield definitions.PartialRunResult(result=None, is_complete=False, logs=[])

self.log(f"A connection has been established: {context.peer()}!")

extra_args = []
Expand Down

0 comments on commit 67a2224

Please sign in to comment.