Commit 4de3a01
[HOTFIX] Fix how params dict is passed to request()
The params dict was being passed as a kwargs parameter (`**params`)
rather than as a kwarg itself (e.g., `params=params`). As a result,
the change in the `request()` method was passing each of the parameters
intended for the YARN RM as keyword arguments to the `requests()` method
itself. This produced the following error on such requests...
```
<class 'TypeError'> - 'request() got an unexpected keyword argument
'startedTimeBegin'
```
resulting in failures in `0.3.4`.1 parent 89d2f9e commit 4de3a01
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments