inducer / inducer/arraycontext

Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr`

Aperta
#296 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
9
Fork
11
Merge medio
17h 12m
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.