Skip to content

Commit

Permalink
Better fix for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVanSchayck committed Nov 19, 2024
1 parent bc24fe2 commit ce0d5a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/covjson_pydantic/coverage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from __future__ import annotations
import sys

if sys.version_info < (3, 9):
from typing_extensions import Annotated

Check warning on line 4 in src/covjson_pydantic/coverage.py

View check run for this annotation

Codecov / codecov/patch

src/covjson_pydantic/coverage.py#L4

Added line #L4 was not covered by tests
else:
from typing import Annotated

from typing import Annotated
from typing import Dict
from typing import List
from typing import Literal
Expand Down

0 comments on commit ce0d5a0

Please sign in to comment.