raulcd commented on code in PR #14499: URL: https://github.com/apache/arrow/pull/14499#discussion_r1014052950
########## python/pyarrow/_fs.pyx: ########## @@ -78,6 +78,12 @@ cdef CFileType _unwrap_file_type(FileType ty) except *: assert 0 +def _file_type_to_string(ty): + # Python 3.11 changed str(IntEnum) to return the string representation + # of the integer value: https://github.com/python/cpython/issues/94763 + return f"{ty.__class__.__name__}.{ty._name_}" Review Comment: I understand that there's no need for a follow up ticket, right? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org