Comment

Comment by domlebo70

I don't code in Python much. Are those type annotations really how people are using them, or is it just for the example?

    def list_files_tool(path: str) -> Dict[str, Any]:
And it returns

    {
        "path": str(full_path),
        "files": all_files
    }
Is that useful?
parent domlebo70 9 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton