Show More
@@ -41,7 +41,7 b' def run(url, json_data=None, params=None' | |||
|
41 | 41 | if json_data: |
|
42 | 42 | resp = method_caller(url, json=json_data, timeout=timeout) |
|
43 | 43 | elif params: |
|
44 |
resp = method_caller(url, params= |
|
|
44 | resp = method_caller(url, params=params, timeout=timeout) | |
|
45 | 45 | else: |
|
46 | 46 | raise AttributeError('Provide json_data= or params= in function call') |
|
47 | 47 | resp.raise_for_status() # raise exception on a failed request |
General Comments 0
You need to be logged in to leave comments.
Login now