From 99b8977009a6601e900a8e16e982a7b92a969808 Mon Sep 17 00:00:00 2001 From: anubhuti24 Date: Fri, 19 Jul 2024 17:15:04 +0530 Subject: [PATCH] patch: fhirdb.py --- personal_graph/database/fhirdb/fhirDB.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)