mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-27 11:18:10 +08:00
ADD: url params for apis for multi api req
This commit is contained in:
@@ -27,7 +27,7 @@ def multi(data, type, apis, available, batch=False, **kwargs):
|
||||
)
|
||||
# Convert client api names to server names before sending request
|
||||
apis = map(CLIENT_SERVER_MAP.get, apis)
|
||||
result = api_handler(data, apis=apis, batch=batch, **kwargs)
|
||||
result = api_handler(data, url_params = {"apis":apis, "batch":batch}, **kwargs)
|
||||
return handle_response(result)
|
||||
|
||||
def handle_response(result):
|
||||
|
||||
Reference in New Issue
Block a user