-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
At the Moment the HermesContext requires a Path. In the Past we made it optional and converted path or string to Path.
In https://github.com/softwarepub/hermes/blob/feature/153-refactor-datamodel/src/hermes/model/context_manager.py#L48
def __init__(self, project_dir: t.Optional[Path] = None):
"""
Create a new context for the given project dir.
:param project_dir: The root directory of the project.
If nothing is given, the current working directory is used.
"""
#: Base dir for the hermes metadata cache (default is `.hermes` in the project root).
self.hermes_dir = Path(project_dir or '.') / self.hermes_cache_nameReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels