Skip to content

Commit e214785

Browse files
committed
Export groups: quote all fields of output
In order to be able to retain backwards compatibility with Python versions before v3.12.x
1 parent 72ff3dc commit e214785

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
itself is to be kept when checking that the path meets the minimum
1414
depth requirement.
1515
- Fix various typing issues.
16+
- Export groups: quote all fields to retain compatibility with Python versions
17+
before v3.12.x for the time being.
1618

1719
## 2026-03-31 v2.4.0
1820

yclienttools/exportgroups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _write_csv(data: List[Dict], max_counts: Dict):
7272
output_write_header = csv.writer(sys.stdout, delimiter=',')
7373
output_write_header.writerow(_get_columns(max_counts))
7474

75-
output = csv.writer(sys.stdout, delimiter=',', quoting=csv.QUOTE_NOTNULL)
75+
output = csv.writer(sys.stdout, delimiter=',', quoting=csv.QUOTE_ALL)
7676

7777
for rowdata in data:
7878
output.writerow(_create_output_row(rowdata, max_counts))

0 commit comments

Comments
 (0)