Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yanki/cache/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def needs_load(self) -> bool:

@property
def value(self) -> Any:
"""Get the value from this entry or UNSET or INVALID."""
"""The value from this entry or UNSET or INVALID."""
return self._value

def read_file(self) -> Any:
Expand Down Expand Up @@ -357,7 +357,7 @@ def is_valid(self):

@property
def value(self) -> Any:
"""Get the value from this entry or UNSET or INVALID."""
"""The value from this entry or UNSET or INVALID."""
if self._value is UNSET:
return UNSET
try:
Expand Down
4 changes: 2 additions & 2 deletions yanki/cli/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def bind_tuple(self) -> tuple[str, int]:

@property
def bind_address(self) -> str:
"""Get the address to bind to from --bind."""
"""The address to bind to (from --bind)."""
return self.bind_tuple[0]

@property
def bind_port(self) -> int:
"""Get the port to bind to from --bind."""
"""The port to bind to (from --bind)."""
return self.bind_tuple[1]

def serve_forever(self, directory="."):
Expand Down