Commit 4829bcb
committed
Squash a Python2 SparkData Bug
Python2 is raising TypeErrors when SparkData objects are initialized via unicode strings. Update `_json_dict()` to check that the json string is an instance of `basestring` and not the `str` subclass.1 parent f89ffdb commit 4829bcb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments