MCPcopy
hub / github.com/pydantic/pydantic / is_valid_field_name

Function is_valid_field_name

pydantic/_internal/_fields.py:681–682  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

679
680
681def is_valid_field_name(name: str) -> bool:
682 return not name.startswith('_')
683
684
685def is_valid_privateattr_name(name: str) -> bool:

Callers 2

inspect_namespaceFunction · 0.85
collect_model_fieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected