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
|
# Determine content type from file extension
|
||||||
file_ext = os.path.splitext(file_path)[1].lower()
|
file_ext = os.path.splitext(file_path)[1].lower()
|
||||||
content_type_hint = None
|
|
||||||
|
|
||||||
# Get file size and basic info
|
# Get file size and basic info
|
||||||
file_size = os.path.getsize(file_path)
|
file_size = os.path.getsize(file_path)
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,5 @@ class LoaderToIngestionAdapter:
|
||||||
Returns:
|
Returns:
|
||||||
IngestionData compatible object
|
IngestionData compatible object
|
||||||
"""
|
"""
|
||||||
from cognee.modules.ingestion.data_types import TextData
|
|
||||||
|
|
||||||
return TextData(content)
|
return TextData(content)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue