feat(gfql): add Plottable schema accessor#1637
Open
lmeyerov wants to merge 4 commits into
Open
Conversation
This was referenced May 25, 2026
Closed
perf: graphistry wheel size (625 kB) — GFQL engine files are large, investigate modularization
#1058
Closed
f9728cd to
73f301d
Compare
This was referenced May 25, 2026
625e792 to
033aac2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1632.
Refs #1058.
Summary
g.schemaaccessor returning the locally boundGraphSchemaorNone.g.schema is not None.agents/skills/review/SKILL.mdso future GitHub PR/issue Markdown bodies are posted through body files instead of inline shell strings.Design Notes
bind(schema=...); it does not copy, infer, mutate, or pretty-print schemas.g.schemadoes not fetch/hydrate remote dataset schemas, persist schemas to Nexus, or serialize schemas intogfql_remote()requests in this release.GraphSchema.node_types:NodeType.nameis the stable public type identity andNodeType.labelsare GFQL label predicates such aslabel__Cat.GraphSchema.to_arrow()besidegfql_query/gfql_operations, with exact Arrow schema IPC plus a JSON summary for Nexus/viz/REST consumers.plans/plottable-schema-accessor-1632/design/schema-transport-design.md.graphistry.schema()accessor was added becausegraphistry.schemais already the public schema module/export surface and this is plotter-state introspection.LOC Buckets
Validation
python3 -m pytest -q graphistry/tests/compute/gfql/test_public_schema.py->24 passedpython3 -m pytest -q docs/test_doc_examples.py -k schema->1 passed, 29 deselected./bin/ruff.sh graphistry/PlotterBase.py graphistry/tests/compute/gfql/test_public_schema.py-> pass./bin/typecheck.sh graphistry/PlotterBase.py graphistry/Plottable.py graphistry/schema.py-> passgit diff --check-> passhas_schema()removal follow-up waves, no findings; artifacts atplans/plottable-schema-accessor-1632/final-report.md26421509425: changed-line coverage, RTD/docs gates, TCK GFQL, GFQL core, docs, full-AI, core-python, Spark, Neo4j, pandas/polars/graphviz, and broad matrix jobs passed.Sample Usage
Merge Readiness
Ready for manual review. Branch is rebased over latest
origin/master; CI is green; review is required before merge.