Skip to content

Remove deprecated snippet_event module - #1059

Open
xpconanfan wants to merge 1 commit into
masterfrom
remove-snippet-event
Open

xpconanfan wants to merge 1 commit into
masterfrom
remove-snippet-event

Conversation

@xpconanfan

Copy link
Copy Markdown
Collaborator

mobly.controllers.android_device_lib.snippet_event has been a deprecated
alias of mobly.snippet.callback_event since 1.12 (see CHANGELOG), emitting a
DeprecationWarning on import. Its last siblings from that era
(jsonrpc_client_base, callback_handler) were removed in #1037.

Migration: from mobly.snippet import callback_event and
callback_event.CallbackEvent / callback_event.from_dict; the class is
identical.

Draft until the remaining google3 callers are migrated (internal pool cl/994683993 + cl/995280259).

`mobly.controllers.android_device_lib.snippet_event` has been a deprecated
alias of `mobly.snippet.callback_event` since 1.12 (see CHANGELOG), emitting a
DeprecationWarning on import. Its last siblings from that era
(`jsonrpc_client_base`, `callback_handler`) were removed in #1037.

Migration: `from mobly.snippet import callback_event` and
`callback_event.CallbackEvent` / `callback_event.from_dict`; the class is
identical.
@xpconanfan
xpconanfan requested a review from ko1in1u October 7, 2026 20:20
@xpconanfan xpconanfan self-assigned this Oct 7, 2026
@xpconanfan xpconanfan added this to the Mobly Release 1.14 milestone Oct 7, 2026
@xpconanfan
xpconanfan marked this pull request as ready for review October 7, 2026 20:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants