Skip to content

Commit

Permalink
put request works on both sides now
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Aug 29, 2024
1 parent 8dc5019 commit b887a97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/python-interop/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,11 +653,11 @@ def main():
with tempfile.NamedTemporaryFile(delete=False) as srcfile:
srcfile.write(FILE_CONTENT.encode())
srcfile_path = srcfile.name
destdir = tempfile.TemporaryDirectory().name
tempdir = tempfile.TemporaryDirectory()
put_req = PutRequest(
destination_id=RUST_ENTITY_ID,
source_file=Path(srcfile_path),
dest_file=Path(destdir).joinpath("test.txt"),
dest_file=Path(tempdir.name).joinpath("test.txt"),
closure_requested=args.closure_requested,
trans_mode=transmission_mode,
)
Expand Down

0 comments on commit b887a97

Please sign in to comment.