def setUpClass(cls):
        """Setup method called once for the entire test class."""
        # Start FalkorDB container
        try:
            cls.container = docker_client.containers.run(
                "falkordb/falkordb:latest",
                detach=True,
                name="falkordb_test_instance_pg",
                ports={"6379/tcp": 6380},
            )
            time.sleep(2)  # Allow time for the container to initialize
        except Exception as e:
            print(f"Error starting FalkorDB container: {e}")
            raise

        # Set up the property graph store and clear database
        cls.pg_store = FalkorDBPropertyGraphStore(url="redis://localhost:6380")
        cls.pg_store.structured_query("MATCH (n) DETACH DELETE n")  # Clear the database
Setup method called once for the entire test class.
llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/tests/test_pg_stores_falkordb.py