apache / apache/datafusion-python
Deprecate Expr for functions that take only specific literals
- 主要言語
- Python
- スター
- 604
- フォーク
- 174
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 5
説明
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
This is the original comment that leads to this issue: https://github.com/apache/datafusion-python/pull/1484#discussion_r3079835791
**Describe the solution you'd like**
Add deprecation warnings, then remove`Expr` type hint in a later release
**Describe alternatives you've considered**
Leave as is
**Additional context**
We only allow specific values, so we can check them at the function invocation.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
PR #1484 からリンクされている議論から始めて、特定のリテラル値のみを受け付ける関数を特定します。次に、それらの関数の定義と type hints を追跡し、その後、他の箇所で非推奨警告がどのように処理されているかを確認します。影響を受ける type hints が非推奨警告を発し、後で削除する予定が文書化されるかテストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 45/100