Skip to content

Commit

Permalink
Update ParamDB.load() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Jun 22, 2024
1 parent 831a420 commit 47a000d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paramdb/_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def load(self, commit_id: int | None = None, *, raw_json: bool = False) -> Any:
| {"type": "Quantity", "value": float, "unit": str}
| {"type": "list", "data": [json_data, ...]}
| {"type": "dict", "data": {str: json_data, ...}}
| {"type": "ParamData", "lastUpdated": float, "data": json_data}
| {"type": "ParamData", "className": str, "lastUpdated": float, "data": json_data}
""" # noqa: E501
select_stmt = self._select_commit(select(_Snapshot.data), commit_id)
Expand Down

0 comments on commit 47a000d

Please sign in to comment.