def METHOD_NAME():
    class Model(pydantic.BaseModel):
        field: Literal["field"]
    @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 == Literal["field"]