Skip to content

Commit 93e19ee

Browse files
Update src/views/rocket.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b5924f9 commit 93e19ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/views/rocket.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ class RocketSimulation(MotorSimulation):
1818
that might be encoded.
1919
"""
2020

21-
model_config = ConfigDict(extra='allow', arbitrary_types_allowed=True)
21+
model_config = ConfigDict(
22+
ser_json_exclude_none=True,
23+
extra='allow',
24+
arbitrary_types_allowed=True
25+
)
2226

2327
message: str = "Rocket successfully simulated"
2428

0 commit comments

Comments
 (0)