- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_encode_model_with_pure_path (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_jsonable_encoder.py
encoded_instance = jsonable_encoder( instance, custom_encoder={MyEnum: custom_enum_encoder} ) assert encoded_instance == custom_enum_encoder(instance) def test_encode_model_with_pure_path(): class ModelWithPath(BaseModel): path: PurePath model_config = {"arbitrary_types_allowed": True} test_path = PurePath("/foo", "bar")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0)