def uris_to_paths(ctx, uris): fetcher = ToolLocationFetcher() paths = [] for uri in uris: path = fetcher.to_tool_path(uri) paths.append(path) return paths
def uris_to_paths(ctx, uris): """Fetch multiple URIs to a local path.""" fetcher = ToolLocationFetcher() paths = [] for uri in uris: path = fetcher.to_tool_path(uri) paths.append(path) return paths
def uri_to_path(ctx, uri): """Fetch URI to a local path.""" fetcher = ToolLocationFetcher() return fetcher.to_tool_path(uri)
def uri_to_path(ctx, uri): fetcher = ToolLocationFetcher() return fetcher.to_tool_path(uri)