[python] Add an option to add ensure_ascii=False to json.dumps (#18888)

* Added ensure ascii

* add option to add ensure_ascii=False in jsom.dumps

* remove option

* update workflow

---------

Co-authored-by: Emile Girard <Emile.Girard@opal-rt.com>
This commit is contained in:
William Cheng
2024-06-15 18:39:06 +08:00
committed by GitHub
parent a40673acb9
commit 13facdaab5
6 changed files with 13 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ class RESTClientObject:
):
request_body = None
if body is not None:
request_body = json.dumps(body)
request_body = json.dumps(body, ensure_ascii=False)
r = self.pool_manager.request(
method,
url,