Created
March 1, 2018 15:19
-
-
Save yothinix/d2a999ebf6fcef832f5040cbfa0ed68c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import cast | |
possible_values = function_return_possible_values() | |
new_type = cast(new_type, possible_values) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment