Skip to content

Commit

Permalink
fix chain's typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal authored Oct 14, 2023
1 parent 2547c5f commit 2a0bd03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kioss/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ def flatten(
"""
return self._map(None, n_workers, worker_type, sidify=None, flatten=True)

def chain(self, *others: Tuple["Pipe[T]"]) -> "Pipe[T]":
def chain(self, *others: "Pipe[T]") -> "Pipe[T]":
"""
Create a new Pipe by chaining the elements of this Pipe with the elements from other Pipes. The elements of a given Pipe are yielded after its predecessor Pipe is exhausted.
Args:
*others ([Pipe[T]]): One or more additional Pipe instances to chain with this Pipe.
*others (Pipe[T]): One or more additional Pipe instances to chain with this Pipe.
Returns:
Pipe[T]: A new Pipe instance with elements from this Pipe followed by elements from other Pipes.
Expand Down

0 comments on commit 2a0bd03

Please sign in to comment.