general: migrate modules to use 3.9 features

This commit is contained in:
Dima Gerasimov 2024-10-19 22:10:40 +01:00 committed by karlicoss
parent d3f9a8e8b6
commit 8496d131e7
125 changed files with 889 additions and 739 deletions

View file

@ -1,11 +1,11 @@
"""
Unified Twitter data (merged from the archive and periodic updates)
"""
from typing import Iterator
from collections.abc import Iterator
from ..core import Res
from ..core.source import import_source
from .common import merge_tweets, Tweet
from .common import Tweet, merge_tweets
# NOTE: you can comment out the sources you don't need
src_twint = import_source(module_name='my.twitter.twint')