linter fixes
This commit is contained in:
parent
98882ba1d1
commit
1c378dabdb
2 changed files with 0 additions and 2 deletions
|
|
@ -104,7 +104,6 @@ class UnstructuredLoader(LoaderInterface):
|
|||
|
||||
# Determine content type from file extension
|
||||
file_ext = os.path.splitext(file_path)[1].lower()
|
||||
content_type_hint = None
|
||||
|
||||
# Get file size and basic info
|
||||
file_size = os.path.getsize(file_path)
|
||||
|
|
|
|||
|
|
@ -235,6 +235,5 @@ class LoaderToIngestionAdapter:
|
|||
Returns:
|
||||
IngestionData compatible object
|
||||
"""
|
||||
from cognee.modules.ingestion.data_types import TextData
|
||||
|
||||
return TextData(content)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue