3 questions
0
votes
1
answer
59
views
Find field throwing error in Python Dataclass conversion
I'm trying to convert a json array to a Python list of typed objects. It's data from Teltonika FOTA
The call result_list = fromlist(FotaDevice, intermediate_list) is failing with the error message ...
3
votes
1
answer
607
views
DataClassWizard after upgrading to python3.11 is not working as expected
Consider this following code:
@dataclass
class Subjects(JSONWizard):
subjectName: str =None
subjectExpert: str = None
subjectScore: float = None
@dataclass
class Student(JSONWizard):
...
3
votes
1
answer
678
views
Recursive Types in dataclass-wizard YAML
I'm attempting to build a simple data-class example for YAML parsing which consists of recursive types.
The YAML in question looks like this:
---
folders:
- name: a
children:
- name: b
- ...