import sqlite3 from pathlib import Path class ServiceRegistry: def __init__(self, db_path: Path) -> None: self._db_path = db_path def init_schema(self) -> None: _ = sqlite3 raise NotImplementedError("Utwórz tabelę services (CREATE TABLE IF NOT EXISTS ...)") def register(self, name: str, owner: str) -> int: raise NotImplementedError("Wstaw (name, owner) parametryzowanym INSERT i zwróć id") def find_by_owner(self, owner: str) -> list[str]: raise NotImplementedError("Zwróć posortowane nazwy serwisów dla owner (parametryzowane ?)")