#11709·pydantic

Allow computed fields (and methods) to be provided with `create_model()`

Author: ViicosCreated Apr 7, 2025Updated Sep 29, 2026
Labelsfeature requestv3

Initial Checks

  • I have searched Google & GitHub for similar requests and couldn't find anything
  • I have read and followed the docs and still think this feature is missing

Description

As per https://github.com/pydantic/pydantic/issues/11708 and https://github.com/pydantic/pydantic/discussions/7760.

Affected Components