adrienbrdne commited on
Commit
067e34e
·
verified ·
1 Parent(s): 1309b91

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -0
api.py CHANGED
@@ -21,6 +21,7 @@ NEO4J_PASSWORD = os.getenv("NEO4J_PASSWORD")
21
  if not NEO4J_URI or not NEO4J_USER or not NEO4J_PASSWORD:
22
  logger.critical("CRITICAL ERROR: NEO4J_URI, NEO4J_USER, and NEO4J_PASSWORD environment variables must be set.")
23
 
 
24
  # --- Application Lifecycle (Startup/Shutdown) ---
25
  @asynccontextmanager
26
  async def lifespan(app: FastAPI):
 
21
  if not NEO4J_URI or not NEO4J_USER or not NEO4J_PASSWORD:
22
  logger.critical("CRITICAL ERROR: NEO4J_URI, NEO4J_USER, and NEO4J_PASSWORD environment variables must be set.")
23
 
24
+ client = None
25
  # --- Application Lifecycle (Startup/Shutdown) ---
26
  @asynccontextmanager
27
  async def lifespan(app: FastAPI):