Skip to content

Commit b727704

Browse files
committed
fix for py3.6
1 parent 649f03b commit b727704

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mypy-stubs/prov/model.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import types
21
from datetime import datetime
32
from typing import IO, Any, Dict, Iterable, List, Set, Tuple
43

@@ -225,8 +224,8 @@ class ProvBundle:
225224
def get_records(
226225
self,
227226
class_or_type_or_tuple: type
228-
| types.UnionType
229-
| Tuple[type | types.UnionType | Tuple[Any, ...], ...]
227+
| type[int | str]
228+
| Tuple[type | type[int | str] | Tuple[Any, ...], ...]
230229
| None = ...,
231230
) -> List[ProvRecord]: ...
232231
def get_record(

0 commit comments

Comments
 (0)