Skip to content

Commit 7db25a8

Browse files
committed
Fix more formatting issues
1 parent ba2a78c commit 7db25a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/neo4j_graphrag/embeddings/mistral.py

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
# Define placeholder type for type checking
2828
class Mistral: # type: ignore
2929
pass
30-
Mistral = None # type: ignore
3130

3231

3332
class MistralAIEmbeddings(Embedder):

src/neo4j_graphrag/llm/mistralai_llm.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@
3636
from mistralai.models.sdkerror import SDKError
3737
except ImportError:
3838
# Define placeholder types for type checking
39+
Messages = None # type: ignore
40+
3941
class Mistral: # type: ignore
4042
pass
43+
4144
class SDKError(Exception): # type: ignore
4245
pass
43-
Mistral = None # type: ignore
44-
SDKError = None # type: ignore
4546

4647

4748
class MistralAILLM(LLMInterface):

0 commit comments

Comments
 (0)