Skip to content

Commit fa828d6

Browse files
egolearnerCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3faba62 commit fa828d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/pyarrow/_dataset.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ cdef class CsvFileFormat(FileFormat):
22532253
"""
22542254
cdef CsvFileWriteOptions opts = \
22552255
<CsvFileWriteOptions> FileFormat.make_write_options(self)
2256-
if 'delimiter' not in kwargs:
2256+
if kwargs.get('delimiter') is None:
22572257
kwargs['delimiter'] = opts.write_options.delimiter
22582258
opts.write_options = WriteOptions(**kwargs)
22592259
return opts

0 commit comments

Comments
 (0)