File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -37,5 +37,10 @@ async def list_all_resources() -> None:
3737 print (f"Total resources: { len (all_resources )} " )
3838
3939
40- if __name__ == "__main__" :
40+ def main ():
41+ """Entry point for the pagination client."""
4142 asyncio .run (list_all_resources ())
43+
44+
45+ if __name__ == "__main__" :
46+ main ()
Original file line number Diff line number Diff line change @@ -56,5 +56,10 @@ async def main():
5656 await parse_tool_results ()
5757
5858
59- if __name__ == "__main__" :
59+ def run ():
60+ """Entry point for the parsing tool results client."""
6061 asyncio .run (main ())
62+
63+
64+ if __name__ == "__main__" :
65+ run ()
Original file line number Diff line number Diff line change @@ -25,5 +25,10 @@ async def main():
2525 print (f"Available tools: { [tool .name for tool in tools .tools ]} " )
2626
2727
28- if __name__ == "__main__" :
28+ def run ():
29+ """Entry point for the streamable basic client."""
2930 asyncio .run (main ())
31+
32+
33+ if __name__ == "__main__" :
34+ run ()
Original file line number Diff line number Diff line change @@ -21,3 +21,6 @@ completion-client = "clients.completion_client:main"
2121direct-execution-server = " servers.direct_execution:main"
2222display-utilities-client = " clients.display_utilities:main"
2323oauth-client = " clients.oauth_client:run"
24+ pagination-client = " clients.pagination_client:main"
25+ parsing-tool-results-client = " clients.parsing_tool_results:run"
26+ streamable-basic-client = " clients.streamable_basic:run"
You can’t perform that action at this time.
0 commit comments