Skip to content

Commit

Permalink
Add docstring to core_api_version (#204)
Browse files Browse the repository at this point in the history
Follow-up to acquire-project/acquire-docs#85

Adding a docstring makes sure this object is visible in the
autogenerated API docs.
  • Loading branch information
melissawm authored Sep 4, 2024
1 parent 3d56b8d commit bc8914c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/acquire/acquire.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1404,4 +1404,6 @@ class VoltageRange:
"""Returns a dictionary of the `VoltageRange` object's attributes."""
...

def core_api_version() -> str: ...
def core_api_version() -> str:
"""Returns the version string for the core API."""
...

0 comments on commit bc8914c

Please sign in to comment.