Skip to content

Commit

Permalink
[TIDY FIRST] Remove conditional typing_extensions import for python…
Browse files Browse the repository at this point in the history
… < 3.8 (#134)

Remove conditional `typing_extensions` import for python < 3.8

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 authored May 16, 2024
1 parent 3b61b6f commit 4c96366
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 4c96366

Please sign in to comment.