-
Updated
Oct 23, 2020 - Rust
dataclasses
Here are 60 public repositories matching this topic...
-
Updated
Oct 16, 2020 - Python
-
Updated
Oct 23, 2020 - Python
-
Updated
Oct 23, 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]
...Fix the type hints
Mypy fails on desert currently.
-
Updated
Oct 14, 2020 - Python
-
Updated
Sep 16, 2020 - Python
-
Updated
Nov 18, 2018 - Python
-
Updated
Oct 23, 2020 - Python
-
Updated
Aug 15, 2020 - Python
-
Updated
Oct 9, 2020 - Python
-
Updated
Aug 17, 2020 - Python
-
Updated
Aug 26, 2020 - Python
-
Updated
Jun 21, 2020 - Python
-
Updated
Oct 6, 2018 - Python
-
Updated
Sep 18, 2018 - Python
-
Updated
Jan 30, 2020 - Kotlin
-
Updated
Aug 21, 2019 - Python
-
Updated
Oct 15, 2020 - Python
-
Updated
Aug 29, 2020 - Python
-
Updated
Aug 11, 2020 - Python
Improve this page
Add a description, image, and links to the dataclasses topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the dataclasses topic, visit your repo's landing page and select "manage topics."
test_global_config.pyhas a usage example