dbrattli / dbrattli/aioreactive

distinct_until_changed, not so nice signature?

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
401
Forks
25
PR merge metrics
No merged PRs in 30d

Description

It has signature
def distinct_until_changed(
source: AsyncObservable[_TSource],
) -> AsyncObservable[_TSource]

but I would have expected
def distinct_until_changed() -> Callable[[AsyncObservable[_TSource]], AsyncObservable[_TSource]]

Seems like a lot of signatures here and there could need some clean-up!???

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.