mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-05 06:16:24 -06:00
chore: Batch organize imports with isort.
Command: `isort /src` PiperOrigin-RevId: 761644934
This commit is contained in:
committed by
Copybara-Service
parent
1807e73472
commit
1773cdab96
+1
-3
@@ -15,9 +15,7 @@
|
||||
import abc
|
||||
from typing import Optional
|
||||
|
||||
from .....auth.auth_credential import (
|
||||
AuthCredential,
|
||||
)
|
||||
from .....auth.auth_credential import AuthCredential
|
||||
from .....auth.auth_schemes import AuthScheme
|
||||
|
||||
|
||||
|
||||
+6
-7
@@ -21,14 +21,13 @@ from google.auth.transport.requests import Request
|
||||
from google.oauth2 import service_account
|
||||
import google.oauth2.credentials
|
||||
|
||||
from .....auth.auth_credential import (
|
||||
AuthCredential,
|
||||
AuthCredentialTypes,
|
||||
HttpAuth,
|
||||
HttpCredentials,
|
||||
)
|
||||
from .....auth.auth_credential import AuthCredential
|
||||
from .....auth.auth_credential import AuthCredentialTypes
|
||||
from .....auth.auth_credential import HttpAuth
|
||||
from .....auth.auth_credential import HttpCredentials
|
||||
from .....auth.auth_schemes import AuthScheme
|
||||
from .base_credential_exchanger import AuthCredentialMissingError, BaseAuthCredentialExchanger
|
||||
from .base_credential_exchanger import AuthCredentialMissingError
|
||||
from .base_credential_exchanger import BaseAuthCredentialExchanger
|
||||
|
||||
|
||||
class ServiceAccountCredentialExchanger(BaseAuthCredentialExchanger):
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
|
||||
import keyword
|
||||
import re
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any
|
||||
from typing import Dict
|
||||
from typing import List
|
||||
from typing import Optional
|
||||
from typing import Union
|
||||
|
||||
from fastapi.openapi.models import Response
|
||||
from fastapi.openapi.models import Schema
|
||||
|
||||
@@ -12,10 +12,15 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from .openapi_spec_parser import OpenApiSpecParser, OperationEndpoint, ParsedOperation
|
||||
from .openapi_spec_parser import OpenApiSpecParser
|
||||
from .openapi_spec_parser import OperationEndpoint
|
||||
from .openapi_spec_parser import ParsedOperation
|
||||
from .openapi_toolset import OpenAPIToolset
|
||||
from .operation_parser import OperationParser
|
||||
from .rest_api_tool import AuthPreparationState, RestApiTool, snake_to_lower_camel, to_gemini_schema
|
||||
from .rest_api_tool import AuthPreparationState
|
||||
from .rest_api_tool import RestApiTool
|
||||
from .rest_api_tool import snake_to_lower_camel
|
||||
from .rest_api_tool import to_gemini_schema
|
||||
from .tool_auth_handler import ToolAuthHandler
|
||||
|
||||
__all__ = [
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
|
||||
import inspect
|
||||
from textwrap import dedent
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any
|
||||
from typing import Dict
|
||||
from typing import List
|
||||
from typing import Optional
|
||||
from typing import Union
|
||||
|
||||
from fastapi.encoders import jsonable_encoder
|
||||
from fastapi.openapi.models import Operation
|
||||
|
||||
Reference in New Issue
Block a user