SpiceQA
Questions
Tags
Users
Badges
python-dataclasses
204 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
What is the proper way in Python to define a dataclass that has both an auto generated __init__ and an additional init2 from a dict of values
user_317460
0
•
asked Jul 2, 2019
2
3
3751
data-class
python-dataclasses
python
dataclasses: how to ignore None values using asdict()?
user_2255491
0
•
asked Jul 1, 2019
13
6
8661
python-dataclasses
python
How to apply default value to Python dataclass field when None was passed?
user_4203480
0
•
asked Jun 19, 2019
36
8
60242
python-dataclasses
default-value
python-3.x
python
dataclasses.asdict() not working as expected
user_8586651
0
•
asked Jun 14, 2019
4
1
6479
python-dataclasses
python-3.7
inheritance
python
How can I use a list[customClass] as type with @dataclass in Python 3.7.x
user_1787331
0
•
asked Jan 11, 2019
7
1
10544
python-dataclasses
python-3.x
oop
Python @dataclass with multiple inheritance (mixin) and mixed default options
user_1554386
0
•
asked Jan 5, 2019
7
0
1655
python-dataclasses
mixins
python-3.x
python
Using queue.PriorityQueue, not caring about comparisons
user_1315400
0
•
asked Jan 3, 2019
3
4
4033
python-dataclasses
priority-queue
python
Avoid Python lint warning for @dataclass variable declarations
user_6210299
0
•
asked Dec 21, 2018
6
1
1041
python-dataclasses
visual-studio-code
python-3.x
python
Dataclass subclass does not inherit __repr__
user_1943287
0
•
asked Oct 31, 2018
14
1
1832
python-dataclasses
python-3.x
python
How can I make a python dataclass hashable?
user_223960
0
•
asked Sep 18, 2018
107
3
42667
python-dataclasses
hash
python-3.x
python
Prev
Prev
17
18
19
20
(current)
21
Next
Next
Hot Questions