def METHOD_NAME():
    field_definition = None
    @strawberry.type
    class Query:
        @strawberry.field
        def hello(
            self,
            info,
            input: Annotated[str, strawberry.argument(metadata={"test": "foo"})],
        ) -> str:
            nonlocal field_definition
            field_definition = info._field
            return f"Hi {input}"
    schema = strawberry.Schema(query=Query)
    result = schema.execute_sync(
        """
        query {
            hello(input: "there")
        }
    """
    )
    assert not result.errors
    assert result.data == {"hello": "Hi there"}
    assert field_definition
    assert field_definition.arguments[0].metadata == {
        "test": "foo",
    }