- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MyModel (0.03 sec)
-
tests/test_arbitrary_types.py
PlainSerializer(lambda v: v.data), ] class MyModel(BaseModel): model_config = ConfigDict(arbitrary_types_allowed=True) custom_field: FakeNumpyArrayPydantic app = FastAPI() @app.get("/") def test() -> MyModel: return MyModel(custom_field=FakeNumpyArray()) client = TestClient(app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 3.8K bytes - Viewed (0)