Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
ru-bot-telegram
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CAAD
ru-bot-telegram
Commits
91d22a0b
Commit
91d22a0b
authored
3 years ago
by
fmk17
Browse files
Options
Downloads
Patches
Plain Diff
Add typing_extensions to make it work in Python 3.7
parent
a2d9e1c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+6
-1
6 additions, 1 deletion
main.py
with
6 additions
and
1 deletion
main.py
+
6
−
1
View file @
91d22a0b
...
@@ -8,7 +8,12 @@ from datetime import date, datetime, timedelta
...
@@ -8,7 +8,12 @@ from datetime import date, datetime, timedelta
from
itertools
import
groupby
from
itertools
import
groupby
from
pprint
import
pformat
from
pprint
import
pformat
from
textwrap
import
dedent
from
textwrap
import
dedent
from
typing
import
Dict
,
Literal
,
Optional
,
Set
from
typing
import
Dict
,
Optional
,
Set
try
:
from
typing
import
Literal
except
ImportError
:
from
typing_extensions
import
Literal
# type: ignore
from
dotenv
import
load_dotenv
from
dotenv
import
load_dotenv
from
telegram
import
InlineKeyboardButton
,
InlineKeyboardMarkup
,
Update
from
telegram
import
InlineKeyboardButton
,
InlineKeyboardMarkup
,
Update
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment