MCPcopy
hub / github.com/pydantic/pydantic / error_required_dynamic_aliases

Function error_required_dynamic_aliases

pydantic/v1/mypy.py:802–803  ·  view source on GitHub ↗
(api: SemanticAnalyzerPluginInterface, context: Context)

Source from the content-addressed store, hash-verified

800
801
802def error_required_dynamic_aliases(api: SemanticAnalyzerPluginInterface, context: Context) -> None:
803 api.fail('Required dynamic aliases disallowed', context, code=ERROR_ALIAS)
804
805
806def error_unexpected_behavior(

Callers 2

collect_configMethod · 0.70
collect_fieldsMethod · 0.70

Calls 1

failMethod · 0.80

Tested by

no test coverage detected