Skip to content

Commit a64bf47

Browse files
committed
Fix set_license with utf-8 chars
Using the json encoder manage for us the encoding/decoding on sender receiver. [ch63983]
1 parent 960270c commit a64bf47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dssclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def set_license(self, license):
999999
:return: None
10001000
"""
10011001
self._perform_empty(
1002-
"POST", "/admin/licensing/license", raw_body=license)
1002+
"POST", "/admin/licensing/license", body=json.loads(license))
10031003

10041004

10051005
########################################################

0 commit comments

Comments
 (0)