File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 import chalice # type: ignore
1717 from chalice import Chalice , ChaliceViewError
1818 from chalice import __version__ as CHALICE_VERSION
19- from chalice .app import (
20- EventSourceHandler as ChaliceEventSourceHandler , # type: ignore
19+ from chalice .app import ( # type: ignore
20+ EventSourceHandler as ChaliceEventSourceHandler ,
2121 )
2222except ImportError :
2323 raise DidNotEnable ("Chalice is not installed" )
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ def __getitem__(self, _):
3232try :
3333 from clickhouse_driver import VERSION # type: ignore[import-not-found]
3434 from clickhouse_driver .client import Client # type: ignore[import-not-found]
35- from clickhouse_driver .connection import (
36- Connection , # type: ignore[import-not-found]
35+ from clickhouse_driver .connection import ( # type: ignore[import-not-found]
36+ Connection ,
3737 )
3838
3939except ImportError :
Original file line number Diff line number Diff line change 4343_FALCON_UNSET : "Optional[object]" = None
4444if FALCON3 : # falcon.request._UNSET is only available in Falcon 3.0+
4545 with capture_internal_exceptions ():
46- from falcon .request import (
47- _UNSET as _FALCON_UNSET , # type: ignore[import-not-found, no-redef]
46+ from falcon .request import ( # type: ignore[import-not-found, no-redef]
47+ _UNSET as _FALCON_UNSET ,
4848 )
4949
5050
Original file line number Diff line number Diff line change 1313 AsyncTransport ,
1414 Transport ,
1515 )
16- from gql .transport .exceptions import (
17- TransportQueryError , # type: ignore[import-not-found]
16+ from gql .transport .exceptions import ( # type: ignore[import-not-found]
17+ TransportQueryError ,
1818 )
1919 from graphql import (
2020 DocumentNode ,
Original file line number Diff line number Diff line change 7777 AzureOpenAIEmbeddings = None
7878
7979try :
80- from langchain_google_vertexai import (
81- VertexAIEmbeddings , # type: ignore[import-not-found]
80+ from langchain_google_vertexai import ( # type: ignore[import-not-found]
81+ VertexAIEmbeddings ,
8282 )
8383except ImportError :
8484 VertexAIEmbeddings = None
9494 CohereEmbeddings = None
9595
9696try :
97- from langchain_mistralai import (
98- MistralAIEmbeddings , # type: ignore[import-not-found]
97+ from langchain_mistralai import ( # type: ignore[import-not-found]
98+ MistralAIEmbeddings ,
9999 )
100100except ImportError :
101101 MistralAIEmbeddings = None
102102
103103try :
104- from langchain_huggingface import (
105- HuggingFaceEmbeddings , # type: ignore[import-not-found]
104+ from langchain_huggingface import ( # type: ignore[import-not-found]
105+ HuggingFaceEmbeddings ,
106106 )
107107except ImportError :
108108 HuggingFaceEmbeddings = None
Original file line number Diff line number Diff line change 2424try :
2525 from mcp .server .lowlevel import Server # type: ignore[import-not-found]
2626 from mcp .server .lowlevel .server import request_ctx # type: ignore[import-not-found]
27- from mcp .server .streamable_http import (
28- StreamableHTTPServerTransport , # type: ignore[import-not-found]
27+ from mcp .server .streamable_http import ( # type: ignore[import-not-found]
28+ StreamableHTTPServerTransport ,
2929 )
3030except ImportError :
3131 raise DidNotEnable ("MCP SDK not installed" )
Original file line number Diff line number Diff line change 1717 raise DidNotEnable ("opentelemetry not installed" )
1818
1919try :
20- from opentelemetry .instrumentation .django import (
21- DjangoInstrumentor , # type: ignore[import-not-found]
20+ from opentelemetry .instrumentation .django import ( # type: ignore[import-not-found]
21+ DjangoInstrumentor ,
2222 )
2323except ImportError :
2424 DjangoInstrumentor = None
You can’t perform that action at this time.
0 commit comments