def METHOD_NAME(self, fragment: GraphQLInlineFragment) -> str:
    return "\n".join(
        [
            f"... on {fragment.type_condition} {{",
            self._print_selections(fragment.selections),
            "}",
        ]
    )