diff --git a/pydantic/main.py b/pydantic/main.py index 8c0e9f8..9ed4f17 100644 --- a/pydantic/main.py +++ b/pydantic/main.py @@ -950,7 +950,9 @@ def create_model( :param field_definitions: fields of the model (or extra fields if a base is supplied) in the format `=(, )` or `=, e.g. `foobar=(str, ...)` or `foobar=123`, or, for complex use-cases, in the format - `=`, e.g. `foo=Field(default_factory=datetime.utcnow, alias='bar')` + `=` or `=(, )`, e.g. + `foo=Field(datetime, default_factory=datetime.utcnow, alias='bar')` or + `foo=(str, FieldInfo(title='Foo'))` """ if __base__ is not None: