Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion python/pyarrow/_parquet_encryption.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ cdef class KmsConnectionConfig(_Weakrefable):
@staticmethod
cdef wrap(const CKmsConnectionConfig& config):
result = KmsConnectionConfig()
result.configuration = make_shared[CKmsConnectionConfig](move(config))
# We require a copy of the config because the input is
# a const reference owned by C++.
cdef CKmsConnectionConfig config_copy = config
result.configuration = make_shared[CKmsConnectionConfig](move(config_copy))
return result


Expand Down
Loading