From 0acf37d30b51bf650a587744c26e61482be90242 Mon Sep 17 00:00:00 2001 From: Harry Date: Wed, 25 Jun 2025 13:48:04 +0800 Subject: [PATCH] chore(oauth): fix format --- api/core/plugin/impl/oauth.py | 2 -- api/services/plugin/oauth_service.py | 1 - 2 files changed, 3 deletions(-) diff --git a/api/core/plugin/impl/oauth.py b/api/core/plugin/impl/oauth.py index 13873b6ba8..b006bf1d4b 100644 --- a/api/core/plugin/impl/oauth.py +++ b/api/core/plugin/impl/oauth.py @@ -37,7 +37,6 @@ class OAuthHandler(BasePluginClient): return resp raise ValueError("No response received from plugin daemon for authorization URL request.") - def get_credentials( self, tenant_id: str, @@ -76,7 +75,6 @@ class OAuthHandler(BasePluginClient): return resp raise ValueError("No response received from plugin daemon for authorization URL request.") - def _convert_request_to_raw_data(self, request: Request) -> bytes: """ Convert a Request object to raw HTTP data. diff --git a/api/services/plugin/oauth_service.py b/api/services/plugin/oauth_service.py index 28b955a3d5..4077ec38d3 100644 --- a/api/services/plugin/oauth_service.py +++ b/api/services/plugin/oauth_service.py @@ -41,7 +41,6 @@ class OAuthProxyService(BasePluginClient): ) return context_id - @staticmethod def use_proxy_context(context_id, max_age=__MAX_AGE__): """