Skip to content

Commit

Permalink
Remove conditional typing_extensions import for python < 3.8
Browse files Browse the repository at this point in the history
This repository doesn't currently, and never has, supported python versions
less than 3.8. The conditional import being removed here is a holdover from
when this code was cut out of dbt-core (which no longer supports python less
than 3.8 either).
  • Loading branch information
QMalcolm committed May 15, 2024
1 parent 3b61b6f commit 0ba69e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dbt_common/events/base_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@

from dbt_common.invocation import get_invocation_id

if sys.version_info >= (3, 8):
from typing import Protocol
else:
from typing_extensions import Protocol
from typing import Protocol


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Expand Down

0 comments on commit 0ba69e6

Please sign in to comment.