Add typehints and docstrings as suggested in review
This commit is contained in:
parent
0933ece63a
commit
ce5b5b781c
2 changed files with 13 additions and 4 deletions
|
|
@ -444,7 +444,7 @@ class StreamingPiCamera2(BaseCamera):
|
|||
self,
|
||||
stream_name: Literal["main", "lores", "raw"] = "main",
|
||||
wait: Optional[float] = 0.9,
|
||||
):
|
||||
) -> None:
|
||||
"""Acquire one image from the camera.
|
||||
|
||||
Return it as a PIL Image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue