paleolimbot commented on code in PR #391:
URL: https://github.com/apache/arrow-nanoarrow/pull/391#discussion_r1513147681
##########
python/src/nanoarrow/_lib.pyx:
##########
@@ -766,6 +766,10 @@ cdef class CSchemaView:
self._nullable = schema._ptr.flags & ARROW_FLAG_NULLABLE
self._map_keys_sorted = schema._ptr.flags & ARROW_FLAG_MAP_KEYS_SORTED
+ @property
+ def layout(self):
+ return CLayout(self, <uintptr_t>&self._schema_view.layout)
Review Comment:
I didn't know that...thanks! I am going to circle back closer to the next
release and refactor some of the Cython structure and the patterns (like this
one) that started early and proliferated more than I'd like.
--
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]