Skip to content

Commit

Permalink
Change Zed2i serial_number type hint to Optional[int]
Browse files Browse the repository at this point in the history
The ZED API expects an integer serial number, not a string
  • Loading branch information
m-decoster authored Dec 2, 2024
1 parent 6fc4a67 commit 69831fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__( # type: ignore[no-any-unimported]
resolution: CameraResolutionType = RESOLUTION_2K,
fps: int = 15,
depth_mode: sl.DEPTH_MODE = NONE_DEPTH_MODE,
serial_number: Optional[str] = None,
serial_number: Optional[int] = None,
svo_filepath: Optional[str] = None,
) -> None:
self._resolution = resolution
Expand Down

0 comments on commit 69831fa

Please sign in to comment.