Skip to content

Commit 83f0352

Browse files
committed
Conflict from commit revert fix
1 parent 9c9ca86 commit 83f0352

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

hamilton/htypes.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import inspect
22
import sys
33
import typing
4-
from typing import Any, Generic, Iterable, List, Optional, Protocol, Tuple, Type, TypeVar, Union
4+
from typing import Any, Iterable, Optional, Protocol, Tuple, Type, TypeVar, Union
55

66
import typing_inspect
77

@@ -296,19 +296,6 @@ class Parallelizable(Iterable[ParallelizableElement], Protocol[ParallelizableEle
296296
pass
297297

298298

299-
class ParallelizableList(
300-
List[ParallelizableElement], Parallelizable, Generic[ParallelizableElement]
301-
):
302-
"""
303-
Marks the output of a function node as parallelizable and also as a list.
304-
305-
It has the same usage as "Parallelizable", but for returns that are specifically
306-
lists, for correct functioning of linters and other tools.
307-
"""
308-
309-
pass
310-
311-
312299
def is_parallelizable(type: Type) -> bool:
313300
"""
314301
Checks if a type is parallelizable.

0 commit comments

Comments
 (0)