inducer / inducer/arraycontext

Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr`

Open
#296 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
11
Avg merge
17h 12m
Merged PRs (30d)
2

Description

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.

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.