def get(self, subj: str) -> List[List[str]]:
        """
        Get triplets.

        Args:
            subj: Subject.

        Returns:
            Triplets.

        """
        rel_map = self.get_flat_rel_map([subj], depth=1)
        rels = list(rel_map.values())
        if len(rels) == 0:
            return []
        return rels[0]

        Get triplets.

        Args:
            subj: Subject.

        Returns:
            Triplets.

        
llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/llama_index/graph_stores/nebula/nebula_graph_store.py