Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python APIs that accept types should auto-parse strings #1773

Closed
psifertex opened this issue Jun 17, 2020 · 1 comment
Closed

Python APIs that accept types should auto-parse strings #1773

psifertex opened this issue Jun 17, 2020 · 1 comment
Assignees
Labels
Component: API Issue needs changes to the API Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Milestone

Comments

@psifertex
Copy link
Member

psifertex commented Jun 17, 2020

In instances where APIs take or generate types, such as current_function.return_type or current_function.function_type and are also settable, we should also support taking in strings and attempting to parse them with the type parser first and using those types.

@psifertex psifertex added the Component: API Issue needs changes to the API label Jun 17, 2020
@psifertex psifertex changed the title Python type APIs should accept strings Python APIs that accept types should auto-parse strings Jun 17, 2020
@HeranGa0 HeranGa0 assigned HeranGa0 and unassigned HeranGa0 Jun 19, 2020
@plafosse plafosse added Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround labels Apr 21, 2021
@plafosse plafosse self-assigned this Sep 30, 2021
@plafosse
Copy link
Member

Added in 2.4.3022

@psifertex psifertex added the Type: Enhancement Issue is a small enhancement to existing functionality label Oct 25, 2021
@psifertex psifertex added this to the 3.0 milestone Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: API Issue needs changes to the API Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants