Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ MyDataclass
Class
MyDataclass
tests/test_config.py:455–456 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
453
454
@pydantic_dataclass(config=config_dict)
455
class
MyDataclass:
456
pass
457
458
with
pytest.warns(UserWarning, match=re.escape(warning_message)):
459
Callers
2
test_config_dataclass_defer_build
Function · 0.70
test_dataclass_allows_model_config_as_model_field
Function · 0.70
Calls
no outgoing calls
Tested by
2
test_config_dataclass_defer_build
Function · 0.56
test_dataclass_allows_model_config_as_model_field
Function · 0.56