Created
March 1, 2018 14:35
-
-
Save yothinix/53488f92fb6978ef3576ddbe745eca6e 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 NewType | |
USERID = NewType('USERID', int) | |
def get_username(id: USERID) -> str: | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment