Skip to content

Release 2.0.1#284

Open
chengbiao-jin wants to merge 6 commits intomasterfrom
release_2.0.1
Open

Release 2.0.1#284
chengbiao-jin wants to merge 6 commits intomasterfrom
release_2.0.1

Conversation

@chengbiao-jin
Copy link
Collaborator

@chengbiao-jin chengbiao-jin commented Mar 18, 2026

User description

  • Performance improvements
  • MCP server separation

PR Type

Enhancement, Bug fix, Tests, Documentation


Description

  • Performance: per-thread sessions, aiohttp client.

    • Failover lock; bytes-based parsing.
  • 3.x fallbacks for queries, jobs, schema.

  • New data-source, schema-change, vector-status APIs.

  • Edge upserts: mustExist and JSON fixes.


Diagram Walkthrough

flowchart LR
  core["Thread-local sessions and aiohttp"]
  json["orjson fast JSON parsing"]
  fallback["3.x fallbacks for queries/jobs/schema"]
  apis["Data source and schema-change APIs"]
  edges["Edge upsert JSON/mustExist fixes"]
  mcp["MCP moved to 'tigergraph-mcp'"]
  features["User-facing improvements"]
  fixes["Reliability fixes"]

  core -- "better concurrency" --> features
  core -- "faster requests" --> apis
  json -- "reduced parsing overhead" --> core
  features --> fallback
  features --> apis
  fixes --> edges
  mcp -- "deprecation shim" --> features
Loading

File Walkthrough

Relevant files
Enhancement
15 files
pyTigerGraphBase.py
Thread-local Session, failover lock, bytes parsing             
+117/-37
pyTigerGraphBase.py
Switch to aiohttp, async failover lock, pooling                   
+139/-38
base.py
orjson support, cached auth headers, fast parse                   
+71/-40 
query.py
Installed queries filter and faster param encoding             
+15/-15 
loading.py
Fix status URLs, add data-source helpers                                 
+43/-12 
gsql.py
Wrap GSQL results and parse graph lists                                   
+63/-0   
pyTigerGraphQuery.py
3.x fallback for create/drop, POST default                             
+42/-33 
pyTigerGraphQuery.py
3.x fallback, installed queries list format                           
+42/-33 
pyTigerGraphLoading.py
Fallback drop job; data-source and vector APIs                     
+197/-8 
pyTigerGraphLoading.py
Await fix; data-source APIs; vector status                             
+203/-8 
pyTigerGraphEdge.py
Add vertexMustExist and atomic headers                                     
+13/-6   
pyTigerGraphSchema.py
Create/Drop/List graphs; schema change API                             
+135/-0 
pyTigerGraphSchema.py
Async graph management and schema change                                 
+135/-0 
pyTigerGraphGSQL.py
Use aiohttp exceptions for 404 fallback                                   
+3/-3     
__init__.py
Dynamic package version discovery with fallback                   
+6/-1     
Bug fix
2 files
edge.py
Correct JSON dump and DataFrame ID handling                           
+18/-26 
pyTigerGraphEdge.py
Simplify upsert; atomic header; remove redundancy               
+8/-78   
Documentation
1 files
__init__.py
Deprecation shim to external MCP package                                 
+34/-9   
Tests
2 files
test_common_edge_query.py
Unit tests for edge dumps and params                                         
+185/-0 
test_common_gsql_helpers.py
Tests for GSQL wrapping and graph parsing                               
+139/-0 
Additional files
41 files
LICENSE +1/-1     
README.md +205/-38
build.sh +54/-7   
MCP_README.md +0/-393 
connection_manager.py +0/-184 
main.py +0/-54   
response_formatter.py +0/-315 
server.py +0/-273 
tool_metadata.py +0/-528 
tool_names.py +0/-110 
__init__.py +0/-298 
data_tools.py +0/-626 
datasource_tools.py +0/-362 
discovery_tools.py +0/-611 
edge_tools.py +0/-692 
gsql_tools.py +0/-552 
node_tools.py +0/-987 
query_tools.py +0/-771 
schema_tools.py +0/-977 
statistics_tools.py +0/-326 
tool_registry.py +0/-175 
vector_tools.py +0/-1125
pyTigerGraphAuth.py +0/-2     
pyproject.toml +46/-3   
meta.yaml +30/-0   
setup.cfg +0/-3     
setup.py +0/-82   
README.md +0/-75   
__init__.py +0/-51   
test_data_tools.py +0/-287 
test_datasource_tools.py +0/-146 
test_edge_tools.py +0/-232 
test_gsql_tools.py +0/-99   
test_node_tools.py +0/-253 
test_query_tools.py +0/-224 
test_response_formatter.py +0/-148 
test_schema_tools.py +0/-295 
test_statistics_tools.py +0/-125 
test_vector_tools.py +0/-497 
test_pyTigerGraphEdgeAsync.py +64/-4   
test_pyTigerGraphLoading.py +5/-4     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant