- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_get_model_fields_cached (0.42 sec)
-
tests/test_compat.py
# For coverage class Model(BaseModel): foo: Union[str, Dict[str, Any]] fields = get_model_fields(Model) assert not is_scalar_field(fields[0]) def test_get_model_fields_cached(): class Model(BaseModel): foo: str non_cached_fields = get_model_fields(Model) non_cached_fields2 = get_model_fields(Model) cached_fields = get_cached_model_fields(Model)
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Wed Sep 11 07:45:30 UTC 2024 - 3.5K bytes - Viewed (0)