def METHOD_NAME():
    @strawberry.federation.type(keys=["id"])
    class Something:
        id: str
    @strawberry.federation.type(keys=["upc"])
    class Product:
        upc: str
        something: Something
    @strawberry.federation.type(extend=True)
    class Query:
        @strawberry.field
        def top_products(self, first: int) -> typing.List[Product]:
            return []
    schema = strawberry.federation.Schema(query=Query, enable_federation_2=True)
    query = """
        query ($representations: [_Any!]!) {
            _entities(representations: $representations) {
                ... on Product {
                    upc
                    something {
                        id
                    }
                }
            }
        }
    """
    result = schema.execute_sync(
        query,
        variable_values={
            "representations": [
                {"__typename": "Product", "upc": "B00005N5PF", "something": {"id": "1"}}
            ]
        },
    )
    assert not result.errors
    assert result.data == {
        "_entities": [{"upc": "B00005N5PF", "something": {"id": "1"}}]
    }