inquisitor/sources/ttldemoupd.py

14 lines
381 B
Python
Raw Normal View History

2020-06-02 20:53:12 +00:00
"""
Demonstrates the behavior of the time-to-live item field.
This source does not generate items. It is solely for use with the
ttldemogen source, which creats new items for it. This source can be
updated to cause a removal check on inactive items created by
ttldemogen.
"""
# Standard library imports
from datetime import datetime
import random
def fetch_new(state):
return []