SpiceQA
Questions
Tags
Users
Badges
python-dataclasses
204 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How to reference `self` in dataclass' fields?
user_5319267
0
•
asked Jul 24, 2020
6
1
6398
python-dataclasses
self
python
Are there any non-recursive dataclass.astuple around?
user_3025981
0
•
asked Jul 23, 2020
2
2
474
python-dataclasses
python
Using class or static method as default_factory in dataclasses
user_1916588
0
•
asked Jul 23, 2020
5
1
3864
python-dataclasses
python
Python dataclass to implement choice type
user_642770
0
•
asked Jul 21, 2020
2
2
722
python-dataclasses
choicefield
python
What explains the different performance of creating objects via normal class, dataclass and namedtuple?
user_6849682
0
•
asked Jul 15, 2020
8
1
1394
python-dataclasses
python-internals
python-3.x
python
performance
Can I have an optional parameter in dataclasses that is omitted when transformed to dict?
user_2834295
0
•
asked Jul 9, 2020
6
2
11850
pyright
python-typing
python-dataclasses
python
How to annotate the type of field in dataclass to be different from the type of its __init__?
user_10051099
0
•
asked Jul 6, 2020
4
1
860
python-dataclasses
mypy
python
Is it possible to prevent reading from a frozen python dataclass?
user_13533415
0
•
asked Jul 1, 2020
5
1
404
python-dataclasses
immutability
python
How to create a class where the type is "equal" to int?
user_2576092
0
•
asked Jun 25, 2020
2
1
197
python-dataclasses
type-hinting
python
types
How to declare python dataclass member field same as the dataclass type
user_1034442
0
•
asked Jun 22, 2020
7
2
926
python-dataclasses
python-3.x
python
Prev
Prev
17
(current)
18
19
20
21
Next
Next
Hot Questions