Skip to content

Commit

Permalink
Bug fix: Fix public API adding names which are currently missing
Browse files Browse the repository at this point in the history
  • Loading branch information
AvlWx2014 committed Nov 22, 2024
1 parent 435d031 commit d36aadf
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
32 changes: 32 additions & 0 deletions src/collektions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,27 @@
"drop_last",
"drop_last_while",
"drop_while",
"filter_indexed",
"filter_isinstance",
"filter_keys",
"filter_not",
"filter_not_none",
"filter_values",
"find",
"find_last",
"first",
"first_or_none",
"flat_map",
"flatten",
"fold",
"fold_indexed",
"fold_right",
"fold_right_indexed",
"group_by",
"group_by",
"group_by",
"group_by_to",
"group_by_to",
"group_by_to",
"is_empty",
"is_not_empty",
Expand All @@ -41,15 +53,24 @@
"none",
"on_each",
"on_each_indexed",
"partition",
"reduce",
"reduce_indexed",
"reduce_indexed_or_none",
"reduce_or_none",
"running_fold",
"running_fold_indexed",
"scan",
"scan_indexed",
"single",
"single",
"single",
"single_or_none",
"single_or_none",
"single_or_none",
"sum_of",
"sum_of",
"sum_of",
"take",
"take_last",
"take_last_while",
Expand All @@ -71,6 +92,11 @@
distinct_by,
drop,
drop_while,
filter_indexed,
filter_isinstance,
filter_not,
filter_not_none,
find,
first,
first_or_none,
flat_map,
Expand All @@ -91,12 +117,15 @@
none,
on_each,
on_each_indexed,
partition,
reduce,
reduce_indexed,
reduce_indexed_or_none,
reduce_or_none,
running_fold,
running_fold_indexed,
scan,
scan_indexed,
single,
single_or_none,
sum_of,
Expand All @@ -116,6 +145,9 @@
from ._sequence import (
drop_last,
drop_last_while,
find_last,
fold_right,
fold_right_indexed,
last,
last_or_none,
take_last,
Expand Down
23 changes: 21 additions & 2 deletions src/collektions/_iterable.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

__all__ = [
"associate",
"associate_to",
"associate_by",
"associate_by_to",
"associate_to",
"associate_with",
"associate_with_to",
"average",
Expand All @@ -15,41 +15,60 @@
"distinct_by",
"drop",
"drop_while",
"filter_indexed",
"filter_isinstance",
"filter_not",
"filter_not_none",
"first",
"first_or_none",
"find",
"flat_map",
"flatten",
"fold",
"fold_indexed",
"group_by",
"group_by",
"group_by",
"group_by_to",
"group_by_to",
"group_by_to",
"is_empty",
"is_not_empty",
"map_indexed",
"map_indexed_not_none",
"map_not_none",
"map_indexed_not_none",
"max_by",
"max_of",
"min_by",
"min_of",
"none",
"on_each",
"on_each_indexed",
"partition",
"reduce",
"reduce_indexed",
"reduce_indexed_or_none",
"reduce_or_none",
"running_fold",
"running_fold_indexed",
"scan",
"scan_indexed",
"single",
"single",
"single",
"single_or_none",
"single_or_none",
"single_or_none",
"sum_of",
"sum_of",
"sum_of",
"take",
"take_while",
"unzip",
"windowed",
]


from collections.abc import (
Collection,
Generator,
Expand Down
3 changes: 3 additions & 0 deletions src/collektions/_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
__all__ = [
"drop_last",
"drop_last_while",
"find_last",
"fold_right",
"fold_right_indexed",
"last",
"last_or_none",
"take_last",
Expand Down

0 comments on commit d36aadf

Please sign in to comment.