Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Nov 26, 2024
1 parent 5a007b5 commit 3f0a2eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/persistence/persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ class PathConstructor:
"""The name of the benchmark for which the path should be constructed."""

branch: str = field(validator=instance_of(str))
"""The branch currently checked out at benchmark execution time."""
"""The branch checked out at benchmark execution time."""

latest_baybe_tag: str = field(validator=instance_of(str))
"""The latest BayBE version tag at benchmark execution time."""
"""The latest BayBE version tag existing at benchmark execution time."""

execution_date_time: datetime = field(validator=instance_of(datetime))
"""The date and time when the benchmark was executed."""

commit_hash: str = field(validator=instance_of(str))
"""The hash of the commit at benchmark execution time."""
"""The hash of the commit checked out at benchmark execution time."""

def _sanitize_string(self, string: str) -> str:
"""Replace disallowed characters for filesystems in the given string."""
Expand Down

0 comments on commit 3f0a2eb

Please sign in to comment.