def METHOD_NAME():
    class Model(pydantic.BaseModel):
        field: pydantic.constr(max_length=100)
    @strawberry.experimental.pydantic.type(Model)
    class Type:
        field: strawberry.auto
    definition: StrawberryObjectDefinition = Type.__strawberry_definition__
    assert definition.name == "Type"
    [field] = definition.fields
    assert field.python_name == "field"
    assert field.type is str