File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/tracing/langgraph Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 155155 " # you'll be able to see the traces in the Openlayer platform.\n " ,
156156 " for s in graph.stream({\" messages\" : [HumanMessage(content = \" What is the meaning of life?\" )]},\n " ,
157157 " config={\" callbacks\" : [openlayer_handler]}):\n " ,
158- " print(s)"
158+ " print(s) # noqa: T201 "
159159 ]
160160 },
161161 {
188188 " # Define a new tool that returns the current datetime\n " ,
189189 " datetime_tool = Tool(\n " ,
190190 " name=\" Datetime\" ,\n " ,
191- " func = lambda x: datetime.now().isoformat(),\n " ,
191+ " func = lambda x: datetime.now().isoformat(), # noqa: ARG005 \n " ,
192192 " description=\" Returns the current datetime\" ,\n " ,
193193 " )"
194194 ]
354354 " # you'll be able to see the traces in the Openlayer platform.\n " ,
355355 " for s in graph_2.stream({\" messages\" : [HumanMessage(content = \" How does photosynthesis work?\" )]},\n " ,
356356 " config={\" callbacks\" : [openlayer_handler]}):\n " ,
357- " print(s)"
357+ " print(s) # noqa: T201 "
358358 ]
359359 },
360360 {
You can’t perform that action at this time.
0 commit comments