diff --git a/tests/data/expected/main/space_and_special_characters/output.py b/tests/data/expected/main/space_and_special_characters/output.py index 19cf7e1e1..6e542ca6f 100644 --- a/tests/data/expected/main/space_and_special_characters/output.py +++ b/tests/data/expected/main/space_and_special_characters/output.py @@ -26,8 +26,21 @@ class Values(BaseModel): field_2_Step: str = Field(..., alias='2 Step') +class Recursive1(BaseModel): + value: float + + +class Sub(BaseModel): + recursive: Recursive1 + + +class Recursive(BaseModel): + sub: Sub + + class Model(BaseModel): Serial_Number: str = Field(..., alias='Serial Number') Timestamp: str Data: Data values: Values + recursive: Recursive diff --git a/tests/data/json/space_and_special_characters.json b/tests/data/json/space_and_special_characters.json index 1f9f9eece..ed3c9d151 100644 --- a/tests/data/json/space_and_special_characters.json +++ b/tests/data/json/space_and_special_characters.json @@ -15,5 +15,12 @@ "values": { "1 Step": "42", "2 Step": "23" + }, + "recursive": { + "sub": { + "recursive": { + "value": 42.23 + } + } } } \ No newline at end of file