Skip to content

Commit

Permalink
Update xinference_rerank.py
Browse files Browse the repository at this point in the history
sort import block 6
  • Loading branch information
cold-eye authored Feb 28, 2025
1 parent c537902 commit abc570f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

from copy import deepcopy
from typing import Any, Dict, List, Optional, Sequence, Union
from langchain_core.documents import BaseDocumentCompressor
from langchain_core.documents import Document
from langchain_core.documents import BaseDocumentCompressor, Document

Check failure on line 6 in libs/community/langchain_community/document_compressors/xinference_rerank.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.13

Ruff (I001)

langchain_community/document_compressors/xinference_rerank.py:2:1: I001 Import block is un-sorted or un-formatted

Check failure on line 6 in libs/community/langchain_community/document_compressors/xinference_rerank.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.9

Ruff (I001)

langchain_community/document_compressors/xinference_rerank.py:2:1: I001 Import block is un-sorted or un-formatted



class XinferenceRerank(BaseDocumentCompressor):
Expand Down

0 comments on commit abc570f

Please sign in to comment.