Skip to content

Commit

Permalink
fix: rename parameter time_to_live to max_age for clarity in docu…
Browse files Browse the repository at this point in the history
…mentation
  • Loading branch information
thorwhalen committed Nov 20, 2024
1 parent 4316e25 commit b755573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graze/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def graze(
``source``. Typically, this is used to notify the user that the contents
are being downloaded. For example, you could use
``key_ingress="The contents of {} are being downloaded".format``.
:param time_to_live: If not None, should be a number specifying the number of
:param max_age: If not None, should be a number specifying the number of
seconds a the cached data is considered "fresh". If the cached data is older
than this, then it will be re-downloaded from the source.
:param on_error: What to do if there's an error when fetching the new data.
Expand Down

0 comments on commit b755573

Please sign in to comment.