diff --git a/personal_graph/database/fhirdb/fhirDB.py b/personal_graph/database/fhirdb/fhirDB.py index 2acb541..009f03f 100644 --- a/personal_graph/database/fhirdb/fhirDB.py +++ b/personal_graph/database/fhirdb/fhirDB.py @@ -13,12 +13,14 @@ try: import libsql_experimental as libsql # type: ignore + + CursorExecFunction = Callable[[libsql.Cursor, libsql.Connection], Any] + except ImportError: pass JSON_SCHEMA_FILE = os.path.join(os.path.dirname(__file__), "fhir_4.schema.json") -CursorExecFunction = Callable[[libsql.Cursor, libsql.Connection], Any] @lru_cache(maxsize=None)