File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77
88from pydantic import BaseModel
99
10- # Initialize logger
11- logger = logging .getLogger (__name__ )
12-
1310from ..nodes import (
1411 ConditionalNode ,
1512 FetchNode ,
2118from .abstract_graph import AbstractGraph
2219from .base_graph import BaseGraph
2320
21+ # Initialize logger
22+ logger = logging .getLogger (__name__ )
23+
2424
2525class SmartScraperGraph (AbstractGraph ):
2626 """
@@ -97,7 +97,7 @@ def _create_graph(self) -> BaseGraph:
9797 )
9898
9999 # Use logging instead of print for better production practices
100- if ' request_id' in response and ' result' in response :
100+ if " request_id" in response and " result" in response :
101101 logger .info (f"Request ID: { response ['request_id' ]} " )
102102 logger .info (f"Result: { response ['result' ]} " )
103103 else :
You can’t perform that action at this time.
0 commit comments