Title: Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr` · Issue #296 · inducer/arraycontext · GitHub
Open Graph Title: Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr` · Issue #296 · inducer/arraycontext
X Title: Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr` · Issue #296 · inducer/arraycontext
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...
Open Graph 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 ret...
X 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 ret...
Opengraph URL: https://github.com/inducer/arraycontext/issues/296
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sharpen type annotation of `_get_arg_id_to_arg_and_arg_id_to_descr`","articleBody":"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.","author":{"url":"https://github.com/nkoskelo","@type":"Person","name":"nkoskelo"},"datePublished":"2024-12-20T18:01:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/296/arraycontext/issues/296"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:293e7e7a-6761-d942-ed7d-f17634bbaa7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C818:33952:19B5B6D:2302E19:6A4F1531 |
| html-safe-nonce | 2ac0158878b9217c306ec89d08275b7258deb9baf49d249604f686690bec211d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODE4OjMzOTUyOjE5QjVCNkQ6MjMwMkUxOTo2QTRGMTUzMSIsInZpc2l0b3JfaWQiOiI4NDI3MDc3NzkxOTI1NjA1NjgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7c58152677ab9d8aeb6db78cfb4698442aa71ea8f488fb40a06c33c5f2b0d727 |
| hovercard-subject-tag | issue:2753216492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/inducer/arraycontext/296/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16da130c4ffa93857e68a4ff31260acb10dddcf8a762c5fb147a71e20a0cacda/inducer/arraycontext/issues/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16da130c4ffa93857e68a4ff31260acb10dddcf8a762c5fb147a71e20a0cacda/inducer/arraycontext/issues/296 |
| og:image:alt | 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 ret... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nkoskelo |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/inducer/arraycontext git https://github.com/inducer/arraycontext.git |
| octolytics-dimension-user_id | 352067 |
| octolytics-dimension-user_login | inducer |
| octolytics-dimension-repository_id | 364716587 |
| octolytics-dimension-repository_nwo | inducer/arraycontext |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 364716587 |
| octolytics-dimension-repository_network_root_nwo | inducer/arraycontext |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width