We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5924f9 commit 93e19eeCopy full SHA for 93e19ee
src/views/rocket.py
@@ -18,7 +18,11 @@ class RocketSimulation(MotorSimulation):
18
that might be encoded.
19
"""
20
21
- model_config = ConfigDict(extra='allow', arbitrary_types_allowed=True)
+ model_config = ConfigDict(
22
+ ser_json_exclude_none=True,
23
+ extra='allow',
24
+ arbitrary_types_allowed=True
25
+ )
26
27
message: str = "Rocket successfully simulated"
28
0 commit comments