Skip to content

Commit 8729d32

Browse files
committed
Fix types.py compat
1 parent 777af97 commit 8729d32

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

auth0/types.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
from __future__ import annotations
1+
from typing import Any, Dict, List, Tuple, Union
22

3-
from typing import Any
3+
TimeoutType = Union[float, Tuple[float, float]]
44

5-
TimeoutType = float | tuple[float, float]
6-
7-
RequestData = dict[str, Any] | list[Any]
5+
RequestData = Union[Dict[str, Any], List[Any]]

0 commit comments

Comments
 (0)