From eee9d38753f86b3dc995f9f580072f5162696870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Badenes?= Date: Tue, 19 May 2026 17:18:05 -0300 Subject: [PATCH] Remove deprecated Connector._robot_session property BREAKING CHANGE: `Connector._robot_session` property has been removed. Use `Connector._get_session()` instead. Co-Authored-By: Claude Opus 4.6 --- docs/contents/specification/connector.md | 4 ---- inorbit_connector/connector.py | 11 ----------- 2 files changed, 15 deletions(-) diff --git a/docs/contents/specification/connector.md b/docs/contents/specification/connector.md index de67f75..6c9140d 100644 --- a/docs/contents/specification/connector.md +++ b/docs/contents/specification/connector.md @@ -196,8 +196,4 @@ Single-robot convenience for online status. The fleet-level online check delegat Returns the underlying Edge SDK session for the current robot. -### Deprecated: `_robot_session` - -`Connector._robot_session` is deprecated; use `_get_session()` instead. - diff --git a/inorbit_connector/connector.py b/inorbit_connector/connector.py index 5ddce43..7b790c1 100644 --- a/inorbit_connector/connector.py +++ b/inorbit_connector/connector.py @@ -24,12 +24,6 @@ except ImportError: from typing_extensions import override -# Python 3.13+ compatibility for deprecated decorator -try: - from warnings import deprecated -except ImportError: - from typing_extensions import deprecated - # Third Party from inorbit_edge.models import RobotSessionModel from inorbit_edge.robot import ( @@ -967,11 +961,6 @@ def _get_session(self) -> RobotSession: """ return super()._get_robot_session(self.robot_id) - @property - @deprecated("Use self._get_session() instead") - def _robot_session(self) -> RobotSession: - return self._get_session() - def _is_robot_online(self) -> bool: """Check if the robot is online.