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

Type this to reject non-enums while still typing the return of the function #345

Open
todo bot opened this issue Sep 26, 2019 · 0 comments
Open

Type this to reject non-enums while still typing the return of the function #345

todo bot opened this issue Sep 26, 2019 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Sep 26, 2019

# TODO: Type this to reject non-enums while still typing the return of the function
def convert_string_to_enum(string: str) -> T:
return enum[string.upper().replace(" ", "_")]
return convert_string_to_enum


This issue was generated by todo based on a TODO comment in c09a8b4. It's been assigned to @dtracers because they committed the code.
@todo todo bot added the todo 🗒️ label Sep 26, 2019
@todo todo bot assigned dtracers Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant