model_fields

emmet.core.types.introspection.model_fields(model, *, include_excluded=False, include_aliases=False)

Field annotations of a pydantic model, see TypeShape.fields.

Return type:

dict[str, Any]

Parameters:
  • model (type[BaseModel])

  • include_excluded (bool)

  • include_aliases (bool)