(
        self,
        node: ManifestNode,
        manifest: Manifest,
        extra_context: Optional[Dict[str, Any]] = None,
        write: bool = True,
    )
return node
This is the main entry point into this code. It's called by
        CompileRunner.compile, GenericRPCRunner.compile, and
        RunTask.get_hook_sql. It calls '_compile_node' to convert
        the node into a compiled node, and then calls the
        recursive method to "prepend" the ctes.
This is the main entry point into this code. It's called by
        CompileRunner.compile, GenericRPCRunner.compile, and
        RunTask.get_hook_sql. It calls '_compile_node' to convert
        the node into a compiled node, and then calls the
        recursive method to "prepend" the ctes.
This is the main entry point into this code . It s called by CompileRunner . compile GenericRPCRunner . compile and RunTask . get_hook_sql . It calls _compile_node to convert the node into a compiled node and then calls the recursive method to prepend the ctes .
def compile_node(
        self,
        node: ManifestNode,
        manifest: Manifest,
        extra_context: Optional[Dict[str, Any]] = None,
        write: bool = True,
    ) -> NonSourceCompiledNode:
        """This is the main entry point into this code. It's called by
        CompileRunner.compile, GenericRPCRunner.compile, and
        RunTask.get_hook_sql. It calls '_compile_node' to convert
        the node into a compiled node, and then calls the
        recursive method to "prepend" the ctes.
        """
        node = self._compile_node(node, manifest, extra_context)

        node, _ = self._recursively_prepend_ctes(
            node, manifest, extra_context
        )
        if write:
            self._write_node(node)
        return node
def compile_node ( self , node : ManifestNode , manifest : Manifest , extra_context : Optional [ Dict [ str , Any ] ] = None , write : bool = True , ) -> NonSourceCompiledNode : node = self . _compile_node ( node , manifest , extra_context ) node , _ = self . _recursively_prepend_ctes ( node , manifest , extra_context ) if write : self . _write_node ( node ) return node