mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Type annotations: use standard generics (PEP 585)
Type annotations: use standard generics (PEP 585)
As of Python 3.9, it's no longer necessary to import things like List and Dict from the typing module, and we can just use the built-in types like this.merge-requests/135/head
Deimos
3 years ago
46 changed files with 145 additions and 140 deletions
-
4tildes/consumers/post_processing_script_runner.py
-
3tildes/consumers/site_icon_downloader.py
-
2tildes/consumers/topic_embedly_extractor.py
-
7tildes/consumers/topic_metadata_generator.py
-
2tildes/consumers/topic_youtube_scraper.py
-
4tildes/tildes/__init__.py
-
3tildes/tildes/auth.py
-
4tildes/tildes/database.py
-
4tildes/tildes/enums.py
-
4tildes/tildes/lib/auth.py
-
11tildes/tildes/lib/database.py
-
9tildes/tildes/lib/event_stream.py
-
3tildes/tildes/lib/lua.py
-
30tildes/tildes/lib/markdown.py
-
7tildes/tildes/lib/ratelimit.py
-
4tildes/tildes/lib/site_info.py
-
7tildes/tildes/lib/string.py
-
2tildes/tildes/metrics.py
-
3tildes/tildes/models/comment/comment.py
-
7tildes/tildes/models/comment/comment_notification.py
-
13tildes/tildes/models/comment/comment_tree.py
-
6tildes/tildes/models/database_model.py
-
8tildes/tildes/models/group/group.py
-
4tildes/tildes/models/group/group_wiki_page.py
-
8tildes/tildes/models/log/log.py
-
5tildes/tildes/models/message/message.py
-
3tildes/tildes/models/model_query.py
-
9tildes/tildes/models/pagination.py
-
15tildes/tildes/models/topic/topic.py
-
3tildes/tildes/models/topic/topic_query.py
-
6tildes/tildes/models/topic/topic_schedule.py
-
8tildes/tildes/models/user/user.py
-
10tildes/tildes/request_methods.py
-
7tildes/tildes/schemas/fields.py
-
5tildes/tildes/schemas/topic.py
-
6tildes/tildes/scrapers/embedly_scraper.py
-
6tildes/tildes/scrapers/youtube_scraper.py
-
2tildes/tildes/tweens.py
-
6tildes/tildes/typing.py
-
2tildes/tildes/views/api/web/exceptions.py
-
4tildes/tildes/views/bookmarks.py
-
5tildes/tildes/views/decorators.py
-
2tildes/tildes/views/exceptions.py
-
6tildes/tildes/views/financials.py
-
12tildes/tildes/views/user.py
-
4tildes/tildes/views/votes.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue