-
Updated
Nov 8, 2019 - Python
type-hints
Here are 41 public repositories matching this topic...
-
Updated
Jul 13, 2020 - Python
-
Updated
Sep 18, 2020 - Python
-
Updated
Aug 19, 2020 - Python
-
Updated
Sep 5, 2020 - JavaScript
-
Updated
Jun 19, 2020 - Python
Just fix tests to use Factory instead of old style
It seems that the typing module doesn't flatten nested literal type definitions, so the following does not currently work:
SuccessStatus = Literal[200, 201, 204]
ClientError = Literal[404, 401, 403, 409, 400]
ServerError = Literal[500, 504, 503]
@dataclass
class HttpResponse(JsonSchemaMixin):
status: Literal[SuccessStatus, ClientError, ServerError]
...-
Updated
Oct 5, 2020 - Python
-
Updated
Aug 17, 2020 - Python
-
Updated
Jan 9, 2020 - PHP
-
Updated
Sep 22, 2020 - Python
-
Updated
Oct 7, 2020 - Python
-
Updated
Sep 23, 2020 - Python
-
Updated
May 26, 2020 - Python
-
Updated
May 25, 2020 - Python
-
Updated
Apr 22, 2020 - PHP
-
Updated
Sep 29, 2020 - Python
-
Updated
Aug 10, 2020 - Python
-
Updated
Oct 9, 2020 - Python
-
Updated
Feb 3, 2020 - Python
-
Updated
Mar 23, 2017 - PHP
-
Updated
Jun 12, 2020 - PHP
-
Updated
May 14, 2020 - Shell
-
Updated
Sep 29, 2018 - Python
-
Updated
May 25, 2020 - Python
Improve this page
Add a description, image, and links to the type-hints topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the type-hints topic, visit your repo's landing page and select "manage topics."
We get the return annotation for free, so we should allow users to do something with it.