scoder commented on PR #34616:
URL: https://github.com/apache/arrow/pull/34616#issuecomment-1753336591

   > I was passing the `ParquetFragmentScanOptions` as the C++ reference, but I 
can probably pass that as a python object as well (and unwrap it inside the 
function). And so when writing it as a `def` function instead, I don't need the 
`cimport` and can do a normal python import?
   
   Yes, that was the idea. That way, you avoid any C++ compile time dependency 
on the types and can use the normal Python mechanisms to deal with optional 
dependencies.


-- 
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]

Reply via email to