How can I delete data from the Panther KV cache?
Last updated: September 3, 2024
QUESTION
How can I delete data from the Panther KV cache?
ANSWER
To remove specific rows from your panther-kv-store:
1. Set the TTL (Time to Live) for the rows to time.time(). This effectively causes them to expire instantly.
2. Pass force_ttl_check=True to any functions reading those rows in the cache.