Skip to content

Commit

Permalink
docs: Update docstrings to indicate some parameters aren't used in ce…
Browse files Browse the repository at this point in the history
…rtain devices
  • Loading branch information
nfelt14 committed Oct 31, 2024
1 parent a1734c3 commit 6a47c0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def save_screenshot(
Args:
filename: The name of the file to save the screenshot as.
colors: The color scheme to use for the screenshot.
view_type: The type of view to capture.
colors: The color scheme to use for the screenshot. (Not used by all devices)
view_type: The type of view to capture. (Not used by all devices)
local_folder: The local folder to save the screenshot in. Defaults to "./".
device_folder: The folder on the device to save the screenshot in. Defaults to "./".
keep_device_file: Whether to keep the file on the device after downloading it.
Expand Down
2 changes: 1 addition & 1 deletion src/tm_devices/drivers/scopes/tekscope/tekscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def _save_screenshot(
Args:
filename: The name of the file to save the screenshot as.
colors: The color scheme to use for the screenshot.
view_type: The type of view to capture.
view_type: The type of view to capture. (Not used in any TekScope drivers)
local_folder: The local folder to save the screenshot in. Defaults to "./".
device_folder: The folder on the device to save the screenshot in. Defaults to "./".
keep_device_file: Whether to keep the file on the device after downloading it.
Expand Down

0 comments on commit 6a47c0d

Please sign in to comment.