Skip to content

Conversation

@cyc60
Copy link
Contributor

@cyc60 cyc60 commented Dec 10, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 10, 2025 16:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the GraphQL client to properly manage session lifecycles by using a context manager, preventing issues with closed sessions. The version is bumped to reflect this fix.

Key Changes

  • GraphQL client now creates and manages sessions per query using async context manager
  • Transport is instantiated within run_query method rather than during client initialization
  • Version bumped from v0.11.0 to v0.11.1

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sw_utils/graph/client.py Refactored to create transport and session per query using context manager for proper cleanup
pyproject.toml Version bump to v0.11.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyc60 cyc60 closed this Dec 12, 2025
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.

3 participants