Skip to content

Commit

Permalink
fix get_args import to support 'future' definition in Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Sep 13, 2023
1 parent 539c37a commit abe66fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions weaver/processes/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from types import MappingProxyType
from typing import TYPE_CHECKING, Union, get_args
from typing_extensions import Literal
from typing import TYPE_CHECKING, Union
from typing_extensions import Literal, get_args

from weaver.base import Constants

Expand Down
4 changes: 2 additions & 2 deletions weaver/store/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import abc
from typing import TYPE_CHECKING, get_args
from typing_extensions import Literal
from typing import TYPE_CHECKING
from typing_extensions import Literal, get_args

from weaver.utils import VersionFormat

Expand Down

0 comments on commit abe66fe

Please sign in to comment.