Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcarlos committed Oct 6, 2023
1 parent 746a62b commit abe39d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ypy_websocket/stores/base_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ async def get(self, path: str, updates: bool = False) -> dict | None:
Arguments:
path: The document name/path.
updates: Whether to return document's content or only the metadata.
"""
...

Expand Down
1 change: 1 addition & 0 deletions ypy_websocket/stores/file_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ async def get(self, path: str, updates: bool = False) -> dict | None:
Arguments:
path: The document name/path.
updates: Whether to return document's content or only the metadata.
"""
if self._initialized is None:
raise Exception("The store was not initialized.")
Expand Down
1 change: 1 addition & 0 deletions ypy_websocket/stores/sqlite_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ async def get(self, path: str, updates: bool = False) -> dict | None:
Arguments:
path: The document name/path.
updates: Whether to return document's content or only the metadata.
"""
if self._initialized is None:
raise Exception("The store was not initialized.")
Expand Down

0 comments on commit abe39d9

Please sign in to comment.