Skip to content

Commit

Permalink
Reverted TaskPipelineNode logger call to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthomas93 committed Aug 20, 2024
1 parent 08b46ff commit 77db5e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/neo4j_genai/experimental/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ async def execute(self, **kwargs: Any) -> RunResult | None:
if the task run successfully, None if the status update
was unsuccessful.
"""
logger.info(f"Running component {self.name}")
logger.debug(f"Component {self.name} arguments: {kwargs}")
logger.debug(f"Running component {self.name} with {kwargs}")
start_time = default_timer()
try:
await self.set_status(RunStatus.RUNNING)
Expand All @@ -134,7 +133,7 @@ async def execute(self, **kwargs: Any) -> RunResult | None:
result=component_result,
)
end_time = default_timer()
logger.info(f"Component {self.name} finished in {end_time - start_time}s")
logger.debug(f"Component {self.name} finished in {end_time - start_time}s")
return run_result

def validate_inputs_config(self, input_data: dict[str, Any]) -> None:
Expand Down

0 comments on commit 77db5e2

Please sign in to comment.