Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Fix linting issues - remove unused imports and whitespace
copilot-swe-agent[bot]f23072cc8f72
diff --git a/scrapegraphai/graphs/abstract_graph.py b/scrapegraphai/graphs/abstract_graph.pyindex 12745b25..30dd9a05 100644--- a/scrapegraphai/graphs/abstract_graph.py+++ b/scrapegraphai/graphs/abstract_graph.py@@ -5,7 +5,6 @@ AbstractGraph Moduleimport asyncioimport uuidimport warnings-import timefrom abc import ABC, abstractmethodfrom typing import Optional, Type@@ -16,7 +15,6 @@ from pydantic import BaseModelfrom ..helpers import models_tokensfrom ..models import CLoD, DeepSeek, Nvidia, OneApi, XAIfrom ..utils.logging import set_verbosity_info, set_verbosity_warning, get_logger-from ..telemetry import log_graph_executionlogger = get_logger(__name__)diff --git a/scrapegraphai/models/nvidia.py b/scrapegraphai/models/nvidia.pyindex 1d47d1ed..301d18a3 100644--- a/scrapegraphai/models/nvidia.py+++ b/scrapegraphai/models/nvidia.py@@ -20,8 +20,8 @@ class Nvidia:"""The langchain_nvidia_ai_endpoints module is not installed.Please install it using `pip install langchain-nvidia-ai-endpoints`.""")-+if "api_key" in llm_config:llm_config["nvidia_api_key"] = llm_config.pop("api_key")-+return ChatNVIDIA(**llm_config)