Skip to content

Commit

Permalink
Add docstrings to acquire.pyi
Browse files Browse the repository at this point in the history
This allows the documentation to be automatically added to the web pages at https://acquire-project.github.io/acquire-docs/api_reference/

Co-authored-by: dgmccart <[email protected]>
  • Loading branch information
melissawm and dgmccart committed Jul 2, 2024
1 parent ee53640 commit 7d753fc
Show file tree
Hide file tree
Showing 2 changed files with 974 additions and 113 deletions.
1 change: 1 addition & 0 deletions python/acquire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def setup(
storage: Union[str, List[str]] = "Tiff",
output_filename: Optional[str] = "out.tif",
) -> Properties:
"""Set up the runtime with a camera and storage device."""
def normalize_fallback_arg(arg: Union[str, List[str]]) -> List[str]:
if isinstance(arg, str):
return [arg]
Expand Down
Loading

0 comments on commit 7d753fc

Please sign in to comment.