From 99d2a9d53965ea2fd2714a5d89cdd307e9720786 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 21 Sep 2026 09:27:14 +0000 Subject: [PATCH] fix(auth): add __init__.py to auth module Adds proper module initialization with public API exports for cleaner imports. Exports TokenStorage, OpenHandsApiClient, ApiClientError, and UnauthenticatedError. Addresses item from code quality report. Closes #826 --- openhands_cli/auth/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 openhands_cli/auth/__init__.py diff --git a/openhands_cli/auth/__init__.py b/openhands_cli/auth/__init__.py new file mode 100644 index 000000000..b046fa9d2 --- /dev/null +++ b/openhands_cli/auth/__init__.py @@ -0,0 +1,16 @@ +"""Authentication module for OpenHands CLI.""" + +from openhands_cli.auth.api_client import ( + ApiClientError, + OpenHandsApiClient, + UnauthenticatedError, +) +from openhands_cli.auth.token_storage import TokenStorage + + +__all__ = [ + "ApiClientError", + "OpenHandsApiClient", + "TokenStorage", + "UnauthenticatedError", +]