Skip to content

Conversation

@pepone
Copy link
Member

@pepone pepone commented Oct 21, 2025

Fixes the errors reported by pyright on Python Glacier2/session demo.

@pepone pepone requested review from Copilot and externl October 21, 2025 16:19
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 corrects Python type annotations in the Glacier2 session demo to align with the actual interface definitions and proper async function return types.

  • Removed incorrect | None union from getPokeBox return type
  • Fixed async function return type from Awaitable[None] to None
  • Renamed parameter from sessionControl to control for consistency

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
python/Glacier2/session/server/poke_session/session.py Fixed return type annotations for getPokeBox and destroy methods
python/Glacier2/session/server/poke_session/manager.py Renamed sessionControl parameter to control throughout the create method

@pepone pepone merged commit 7bfe02c into zeroc-ice:main Oct 21, 2025
12 of 16 checks passed
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.

2 participants