Skip to content

Fix GRAPHIFY_OUT default for query/path/explain#758

Merged
safishamsi merged 1 commit into
safishamsi:v7from
nyldn:fix/graphify-out-query
May 7, 2026
Merged

Fix GRAPHIFY_OUT default for query/path/explain#758
safishamsi merged 1 commit into
safishamsi:v7from
nyldn:fix/graphify-out-query

Conversation

@nyldn
Copy link
Copy Markdown
Contributor

@nyldn nyldn commented May 6, 2026

Fixes #756.

The three graph lookup commands already accept --graph, but their default path still pointed at graphify-out/graph.json even when GRAPHIFY_OUT was set. That breaks shared-output and non-default output directory setups.

This switches the default path for query, path, and explain to the existing GRAPHIFY_OUT setting, while leaving explicit --graph overrides alone.

Tests:

  • python3 -m py_compile graphify/__main__.py tests/test_cli_export.py
  • uv run --with pytest pytest tests/test_cli_export.py -q

@safishamsi
Copy link
Copy Markdown
Owner

Merged via PR #758. GRAPHIFY_OUT env var now respected in query/path/explain commands. Shipped in v0.7.8.

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.

bug: query/path/explain commands ignore GRAPHIFY_OUT env var, hardcode 'graphify-out/graph.json'

2 participants