Skip to content

Commit

Permalink
Change return type of path to pathlib.Path
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Dec 13, 2023
1 parent 79ead8b commit b0572ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deephaven/plugin/js.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class JsPlugin(Plugin):
"""

@abc.abstractmethod
def path(self) -> typing.ContextManager[pathlib.Path]:
def path(self) -> pathlib.Path:
"""
The directory path of the resources to serve in a context manager.
The directory path of the resources to serve. The path must exist.
"""
pass

Expand Down

0 comments on commit b0572ed

Please sign in to comment.