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 155
155
" # you'll be able to see the traces in the Openlayer platform.\n " ,
156
156
" for s in graph.stream({\" messages\" : [HumanMessage(content = \" What is the meaning of life?\" )]},\n " ,
157
157
" config={\" callbacks\" : [openlayer_handler]}):\n " ,
158
- " print(s)"
158
+ " print(s) # noqa: T201 "
159
159
]
160
160
},
161
161
{
188
188
" # Define a new tool that returns the current datetime\n " ,
189
189
" datetime_tool = Tool(\n " ,
190
190
" name=\" Datetime\" ,\n " ,
191
- " func = lambda x: datetime.now().isoformat(),\n " ,
191
+ " func = lambda x: datetime.now().isoformat(), # noqa: ARG005 \n " ,
192
192
" description=\" Returns the current datetime\" ,\n " ,
193
193
" )"
194
194
]
354
354
" # you'll be able to see the traces in the Openlayer platform.\n " ,
355
355
" for s in graph_2.stream({\" messages\" : [HumanMessage(content = \" How does photosynthesis work?\" )]},\n " ,
356
356
" config={\" callbacks\" : [openlayer_handler]}):\n " ,
357
- " print(s)"
357
+ " print(s) # noqa: T201 "
358
358
]
359
359
},
360
360
{
You can’t perform that action at this time.
0 commit comments