Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Feb 15, 2025
1 parent f8a2b12 commit 8a46844
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions osmnx/_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def _get_cache_filepath(key: str, extension: str = "json") -> Path:
"""
Determine a cache filepath for a key.
This calculates the SHA-1 hash digest (40 hexadecimal characters) of `key`
to generate a succinct but unique cache filename.
This uses the configured `settings.cache_folder` and calculates the 160
bit SHA-1 hash digest (40 hexadecimal characters) of `key` to generate a
succinct but unique cache filename.
Parameters
----------
Expand Down

0 comments on commit 8a46844

Please sign in to comment.