Arguments#
The key of the hash.
The field or list of fields within the hash to set the expiry for.
The timeout in seconds as an integer or a datetime.timedelta object.
Set expiry only when the field has no expiry. Defaults to False.
Set expiry only when the field has an existing expiry. Defaults to False.
Set expiry only when the new expiry is greater than the current one. Defaults to False.
Set expiry only when the new expiry is less than the current one. Defaults to False.