lidavidm commented on code in PR #14698:
URL: https://github.com/apache/arrow/pull/14698#discussion_r1029475785
##########
python/pyarrow/_flight.pyx:
##########
@@ -1548,6 +1548,9 @@ cdef class FlightClient(_Weakrefable):
writer : FlightStreamWriter
reader : FlightMetadataReader
"""
+ if schema is None:
Review Comment:
Cython lets you declare the parameter as `Schema schema not None` which
would be better
https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#extension-types-and-none
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]