Skip to content

Commit c4349f4

Browse files
committed
Fix docstring for put_file
1 parent 595f3a9 commit c4349f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cbapi/live_response_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ def put_file(self, infp, remote_filename):
139139
:Example:
140140
141141
>>> with c.select(Sensor, 1).lr_session() as lr_session:
142-
... lr_session.put_file('File Data', new_remote_file)
142+
... lr_session.put_file(open("test.txt", "rb"), r"c:\test.txt")
143143
144-
:param str infp: File data to put on the remote endpoint
144+
:param str infp: Python file-like containing data to upload to the remote endpoint
145145
:param str remote_filename: File name to create on the remote endpoint
146146
:return: None
147147
"""

0 commit comments

Comments
 (0)