We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e96d8e commit b09cae7Copy full SHA for b09cae7
1 file changed
python/pyarrow/_dataset_parquet.pyx
@@ -198,6 +198,7 @@ cdef class ParquetFileFormat(FileFormat):
198
-------
199
pyarrow.dataset.FileWriteOptions
200
"""
201
+ # Safeguard from calling make_write_options as a static class method
202
if not isinstance(self, ParquetFileFormat):
203
raise TypeError("pyarrow.dataset.ParquetFileFormat() must be initiated"
204
" before calling make_write_options()")
0 commit comments