- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_encode_model_with_pure_path (0.12 sec)
-
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 if PYDANTIC_V2: model_config = {"arbitrary_types_allowed": True} else: class Config:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0)