Skip to content

Commit

Permalink
Fix typing for Python 3.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Jan 4, 2025
1 parent 05414b4 commit 07f3a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/codehelp/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from flask import current_app
from jinja2 import Environment
from typing_extensions import Self
from typing_extensions import Self # for 3.10
from werkzeug.datastructures import ImmutableMultiDict

from gened.auth import get_auth
Expand Down
3 changes: 2 additions & 1 deletion src/gened/app_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
from copy import deepcopy
from dataclasses import dataclass, field
from sqlite3 import Cursor, Row
from typing import Final, Protocol, Self
from typing import Final, Protocol
from urllib.parse import urlencode

from flask import flash, request
from typing_extensions import Self # for 3.10

from gened.tables import DataTable

Expand Down

0 comments on commit 07f3a24

Please sign in to comment.