-
Updated
Sep 19, 2021 - Python
dataclasses
Here are 90 public repositories matching this topic...
I inspected the source for the notion client i installed and only the pick function is contained in the helpers module even though the documentation says that get_id and get_url are supposed to be included
-
Updated
Sep 14, 2021 - Python
-
Updated
Jul 19, 2021 - Python
Just fix tests to use Factory instead of old style
-
Updated
Sep 1, 2021 - Python
-
Updated
Sep 4, 2021 - Python
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
Sep 6, 2021 - Python
simple-parsing
is simply awesome (thanks!). I'd like to suggest a feature that is crucial for parsing nested args, in my opinion, and the support of other researchers in my group. Here is a minimal example to make things clear:
from dataclasses import dataclass
from simple_parsing import ArgumentParser, ConflictResolution
@dataclass
class WandbArgs:
dir: str = '' # Wandb run ca
Fix the type hints
Mypy fails on desert currently.
-
Updated
Sep 19, 2021 - Python
-
Updated
Sep 1, 2021 - Python
-
Updated
Sep 16, 2021 - Python
-
Updated
Sep 13, 2021 - Python
-
Updated
Sep 20, 2021 - Python
-
Updated
Sep 9, 2021 - Python
-
Updated
Nov 18, 2018 - Python
-
Updated
May 7, 2021 - Python
-
Updated
Sep 2, 2021 - Python
-
Updated
Aug 22, 2021 - Python
-
Updated
Aug 17, 2020 - Python
-
Updated
Apr 25, 2021 - Python
Support python 3.9
Add python3.9 in CI script, and add python3.9 classifier in setup.py
-
Updated
Mar 19, 2021 - 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.py
has a usage example