def from_args(
        cls,
        retriever: PostgresMLRetriever,
        **kwargs: Any,
    ) -> "PostgresMLQueryEngine":
        """
        Initialize a PostgresMLQueryEngine object.".

        Args:
            retriever (PostgresMLRetriever): A PostgresML retriever object.

        """
        return cls(retriever=retriever, **kwargs)

        Initialize a PostgresMLQueryEngine object.".

        Args:
            retriever (PostgresMLRetriever): A PostgresML retriever object.

        
llama-index-integrations/indices/llama-index-indices-managed-postgresml/llama_index/indices/managed/postgresml/query.py