removed unused Dict import from typing
This commit is contained in:
parent
20fb77316c
commit
fbef6675bc
3 changed files with 11 additions and 1 deletions
10
cognee/infrastructure/loaders/external/webscraper_loader.py
vendored
Normal file
10
cognee/infrastructure/loaders/external/webscraper_loader.py
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
from typing import List
|
||||||
|
from cognee.infrastructure.loaders.LoaderInterface import LoaderInterface
|
||||||
|
from cognee.shared.logging_utils import get_logger
|
||||||
|
from cognee.infrastructure.files.storage import get_file_storage, get_storage_config
|
||||||
|
from cognee.infrastructure.files.utils.get_file_metadata import get_file_metadata
|
||||||
|
|
||||||
|
logger = get_logger(__name__)
|
||||||
|
|
||||||
|
class WebScraperLoader(LoaderInterface):
|
||||||
|
pass
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
from typing import Union, BinaryIO, Any, Dict
|
from typing import Union, BinaryIO, Any
|
||||||
|
|
||||||
from cognee.modules.ingestion.exceptions import IngestionError
|
from cognee.modules.ingestion.exceptions import IngestionError
|
||||||
from cognee.modules.ingestion import save_data_to_file
|
from cognee.modules.ingestion import save_data_to_file
|
||||||
|
|
|
||||||
0
cognee/tests/tasks/web_scraping/web_scraping_test.py
Normal file
0
cognee/tests/tasks/web_scraping/web_scraping_test.py
Normal file
Loading…
Add table
Reference in a new issue