inducer / inducer/arraycontext

Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr`

オープン
#296 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
9
フォーク
11
平均マージ
17時間 12分
マージ済み PR(30日)
2

説明

According to the type listed `args: tuple[Any, ...]`, args should be able to support an object type. However, it does not. Passing in an object that is not an `pt.Array` or `scalar` or `ArrayContainer` returns an error message. I think we should just return the descriptor as the position of the object within the `args` tuple.

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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