dry-python / dry-python/returns

Try to provide default implementation for some interfaces

オープン
#616 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
4.4k
フォーク
155
平均マージ
2時間 27分
マージ済み PR(30日)
22

説明

For example, `.map` is just `return self.__class__(function(self._inner_value))` in many cases.
There are also other methods that can be possibly have defaults.
Or `.from_iterable` also is the same for every container.

But, we need to check that:
1. Typing works correctly
2. In case if method needs a non-default implementation, we can know it in advance

Related #598
Related #495

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。