File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -496,22 +496,18 @@ class GoogleGeocodingTool(BaseTool):
496496 include_bounds=True,
497497 include_navigation=True,
498498 include_metadata=True,
499- language="en"
499+ language="en",
500500 )
501501
502502 Invoke directly:
503503 .. code-block:: python
504504
505- result = tool.invoke({
506- "query": "Eiffel Tower, Empire State Building"
507- })
505+ result = tool.invoke({"query": "Eiffel Tower, Empire State Building"})
508506
509507 Invoke with agent:
510508 .. code-block:: python
511509
512- agent.invoke({
513- "input": "Find coordinates of Times Square and Central Park"
514- })
510+ agent.invoke({"input": "Find coordinates of Times Square and Central Park"})
515511
516512 Returns:
517513 Tuple containing:
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class GooglePlacesAPIWrapper(BaseModel):
3131
3232
3333 from langchain_community.utilities import GooglePlacesAPIWrapper
34+
3435 gplaceapi = GooglePlacesAPIWrapper()
3536 """
3637
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ dev = [
8989[tool .ruff ]
9090fix = true
9191
92+ [tool .ruff .format ]
93+ docstring-code-format = true
94+
9295[tool .ruff .lint ]
9396select = [
9497 " E" , # pycodestyle
You can’t perform that action at this time.
0 commit comments