core: improvements for warnings, twitter/rss: try using @warn_if_empty
This commit is contained in:
parent
616ffb457e
commit
216944b3cd
5 changed files with 35 additions and 17 deletions
|
@ -3,11 +3,9 @@ Unified Twitter data (merged from the archive and periodic updates)
|
|||
"""
|
||||
|
||||
# NOTE: you can comment out the sources you don't need
|
||||
|
||||
|
||||
from . import twint, archive
|
||||
from .common import merge_tweets
|
||||
|
||||
from .common import merge_tweets
|
||||
|
||||
def tweets():
|
||||
yield from merge_tweets(
|
||||
|
@ -15,6 +13,7 @@ def tweets():
|
|||
archive.tweets(),
|
||||
)
|
||||
|
||||
from .common import merge_tweets
|
||||
|
||||
def likes():
|
||||
yield from merge_tweets(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue