Remove deprecated Connector._robot_session property#71
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the deprecated Connector._robot_session property (and its now-unused deprecated decorator import shim) and updates the connector specification docs accordingly, making _get_session() the sole supported way to access the single-robot Edge SDK session.
Changes:
- Removed
Connector._robot_sessionproperty (previously deprecated in favor of_get_session()). - Removed the Python 3.13+ compatibility import block for the
deprecateddecorator (no longer used). - Removed the deprecated
_robot_sessionsection from the connector specification documentation.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
inorbit_connector/connector.py |
Removes the deprecated _robot_session property and the unused deprecated import compatibility block. |
docs/contents/specification/connector.md |
Deletes the spec section documenting the deprecated _robot_session property to align docs with the API removal. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
BREAKING CHANGE: `Connector._robot_session` property has been removed. Use `Connector._get_session()` instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e91b87b to
eee9d38
Compare
miguelgarcia
approved these changes
May 20, 2026
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.
Summary
Connector._robot_sessionproperty and its@deprecateddecorator fromconnector.pydeprecateddecorator import (Python 3.13+ compat block) — no longer used anywhere_robot_session" section from the connector specification docsBreaking changes
Connector._robot_sessionproperty has been removed. It was deprecated in favor of_get_session().Migration
_get_session()is unchanged and remains the canonical way to get the edge-sdk robot session for the current robot.