INNER CODE UNIT · Python

__exit__

ArcadeData/arcadedb · bindings/python/src/arcadedb_embedded/server.py:212

    def __exit__(self, exc_type, exc_val, exc_tb):
        """Context manager exit - stops the server."""
        self.stop()


def create_server(
    root_path: str = "./databases",
    root_password: Optional[str] = None,
    config: Optional[Dict[str, Any]] = None,
) -> ArcadeDBServer:
    """
    Create an ArcadeDB server instance.

    Args:
        root_path: Root directory for databases (default: ./databases)
        root_password: Root user password (optional, recommended for
            production)
        config: Optional configuration dictionary

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…