[
https://issues.apache.org/jira/browse/ARROW-9875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joris Van den Bossche updated ARROW-9875:
-----------------------------------------
Description: Currently you need to do {{fs.get_file_info([path])[0]}} to
get the info of a single path. We can make the function also accept that
directly (instead of a list): {{fs.get_file_info(path)}}. (was: Currently you
need to do {{fs.get_file_info([path])[0]}} to get the info of a single path. We
can make the function also accept that directly (instead of a list.)
> [Python] Let FileSystem.get_file_info accept a single path
> ----------------------------------------------------------
>
> Key: ARROW-9875
> URL: https://issues.apache.org/jira/browse/ARROW-9875
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Joris Van den Bossche
> Priority: Major
>
> Currently you need to do {{fs.get_file_info([path])[0]}} to get the info of a
> single path. We can make the function also accept that directly (instead of a
> list): {{fs.get_file_info(path)}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)