iflow-mcp_yugabyte-yugabytedb-mcp-server 1.0.7__tar.gz → 1.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/PKG-INFO +1 -1
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/pyproject.toml +1 -1
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/PKG-INFO +1 -1
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/server.py +3 -3
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/LICENSE +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/README.md +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/setup.cfg +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/SOURCES.txt +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/dependency_links.txt +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/entry_points.txt +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/requires.txt +0 -0
- {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/top_level.txt +0 -0
|
@@ -86,9 +86,9 @@ def write_root_cert():
|
|
|
86
86
|
@asynccontextmanager
|
|
87
87
|
async def app_lifespan(server: FastMCP) -> AsyncIterator[AppContext]:
|
|
88
88
|
global CONFIG
|
|
89
|
-
# Skip database connection for testing if YUGABYTEDB_URL is not set
|
|
90
|
-
if not CONFIG or not CONFIG.yugabytedb_url:
|
|
91
|
-
print("YUGABYTEDB_URL is not set, running in demo mode without database connection", file=sys.stderr)
|
|
89
|
+
# Skip database connection for testing if YUGABYTEDB_URL is not set or is a demo value
|
|
90
|
+
if not CONFIG or not CONFIG.yugabytedb_url or "dbname=yugabyte host=localhost" in CONFIG.yugabytedb_url:
|
|
91
|
+
print("YUGABYTEDB_URL is not set or using demo value, running in demo mode without database connection", file=sys.stderr)
|
|
92
92
|
yield AppContext(conn=None)
|
|
93
93
|
return
|
|
94
94
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|