Skip to content

Commit

Permalink
folders: rename _base.py and _itertools.py into _visitor.py and _func…
Browse files Browse the repository at this point in the history
…tions.py
  • Loading branch information
ebonnal committed Jan 23, 2024
1 parent ace78d3 commit 278e7e2
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion streamable/_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
if TYPE_CHECKING:
import builtins

from streamable._visitors._base import Visitor
from streamable._visitors._visitor import Visitor

U = TypeVar("U")
T = TypeVar("T")
Expand Down
2 changes: 1 addition & 1 deletion streamable/_visitors/_explanation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Any

from streamable import _stream, _util
from streamable._visitors._base import Visitor
from streamable._visitors._visitor import Visitor


class ExplainingVisitor(Visitor[str]):
Expand Down
2 changes: 1 addition & 1 deletion streamable/_visitors/_iteration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Iterable, Iterator, List, TypeVar, cast

from streamable import _stream, _util, functions
from streamable._visitors._base import Visitor
from streamable._visitors._visitor import Visitor

T = TypeVar("T")
U = TypeVar("U")
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion streamable/functions/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from streamable.functions._itertools import batch, catch, flatten, map, observe, slow
from streamable.functions._functions import batch, catch, flatten, map, observe, slow
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def __iter__(self) -> Iterator[int]:
def test_partial_iteration_on_streams_using_concurrency(
self, concurrency: int
) -> None:
from streamable.functions._itertools import _CONCURRENCY_BUFFER_SIZE_FACTOR
from streamable.functions._functions import _CONCURRENCY_BUFFER_SIZE_FACTOR

yielded_elems = []

Expand Down

0 comments on commit 278e7e2

Please sign in to comment.