EnricoMi commented on code in PR #43537:
URL: https://github.com/apache/arrow/pull/43537#discussion_r1771933017
##########
python/pyarrow/_flight.pyx:
##########
@@ -887,6 +933,23 @@ cdef class FlightInfo(_Weakrefable):
"""The size in bytes of the data in this flight, or -1 if unknown."""
return self.info.get().total_bytes()
+ @property
+ def ordered(self):
+ """Whether endpoints are in the same order as the data."""
+ return self.info.get().ordered()
+
+ @property
+ def app_metadata(self):
+ """
+ Application-defined opaque metadata.
+
+ There is no inherent or required relationship between this and the
app_metadata fields in the FlightEndpoints
+ or resulting FlightData messages. Since this metadata is
application-defined, a given application could define
+ there to be a relationship, but there is none required by the spec.
Review Comment:
```suggestion
There is no inherent or required relationship between this and the
app_metadata fields in the FlightEndpoints or resulting FlightData
messages. Since this metadata is application-defined, a given
application could define there to be a relationship, but there is
none required by the spec.
```
--
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]