- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ModelDefaults (0.15 sec)
-
tests/test_skip_defaults.py
return ModelDefaults(x=None, y="y") @app.get( "/exclude_defaults", response_model=ModelDefaults, response_model_exclude_defaults=True, ) def get_exclude_defaults() -> ModelDefaults: return ModelDefaults(x=None, y="y") @app.get( "/exclude_none", response_model=ModelDefaults, response_model_exclude_none=True ) def get_exclude_none() -> ModelDefaults:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0)