Skip to content

feat(sources): add hf data source #201

feat(sources): add hf data source

feat(sources): add hf data source #201

GitHub Actions / JUnit Test Report failed Oct 16, 2024 in 0s

7 tests run, 0 passed, 0 skipped, 7 failed.

Annotations

Check failure on line 1 in packages/ragbits-core/tests/unit/vector_stores/test_simple_vector_store.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_simple_vector_store.packages.ragbits-core.tests.unit.vector_stores.test_simple_vector_store

collection failure
Raw output
packages/ragbits-core/tests/unit/vector_stores/test_simple_vector_store.py:4: in <module>
    from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
    from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:7: in <module>
    from ragbits.document_search.documents.document import Document, DocumentMeta
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in packages/ragbits-document-search/tests/integration/test_unstructured.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_unstructured.packages.ragbits-document-search.tests.integration.test_unstructured

collection failure
Raw output
packages/ragbits-document-search/tests/integration/test_unstructured.py:5: in <module>
    from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_document_processor.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_document_processor.packages.ragbits-document-search.tests.unit.test_document_processor

collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_document_processor.py:3: in <module>
    from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_document_search.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_document_search.packages.ragbits-document-search.tests.unit.test_document_search

collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_document_search.py:9: in <module>
    from ragbits.document_search import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
    from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:7: in <module>
    from ragbits.document_search.documents.document import Document, DocumentMeta
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_documents.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_documents.packages.ragbits-document-search.tests.unit.test_documents

collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_documents.py:4: in <module>
    from ragbits.document_search.documents.document import DocumentMeta, DocumentType, TextDocument
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in .venv/lib/python3.10/site-packages/test_unstructured/documents/test_elements.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_elements.packages.ragbits-document-search.tests.unit.test_elements

collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_elements.py:2: in <module>
    from ragbits.document_search.documents.document import DocumentType
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined

Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_providers.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_providers.packages.ragbits-document-search.tests.unit.test_providers

collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_providers.py:6: in <module>
    from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:35: in <module>
    class DocumentMeta(BaseModel):
packages/ragbits-document-search/src/ragbits/document_search/documents/document.py:100: in DocumentMeta
    async def from_source(cls, source: Union[LocalFileSource, GCSSource]) -> "DocumentMeta":
E   NameError: name 'Union' is not defined