Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ test_pydantic_empty_model
Function
test_pydantic_empty_model
tests/test_transform.py:284–285 ·
view source on GitHub ↗
(use_async: bool)
Source
from the content-addressed store, hash-verified
282
@parametrize
283
@pytest.mark.asyncio
284
async
def
test_pydantic_empty_model(use_async: bool) -> None:
285
assert cast(Any, await transform(MyModel.construct(), Any, use_async)) == {}
286
287
288
@parametrize
Callers
nothing calls this directly
Calls
2
transform
Function · 0.70
construct
Method · 0.45
Tested by
no test coverage detected