6 ms·
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) ->
by domlebo70 8mo ago
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?