-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Calling http.BatchHttpRequest()
with only positional arguments raises/logs the following error:
req = BatchHttpRequest(callback, my_batch_uri)
TypeError: __init__() takes at most 1 positional argument (3 given)
This makes no sense since I'm only passing 2 arguments to the constructor.
Moreover, the decorator on the constructor indicates positional(1)
, which I assume means should allow at most one positional argument. But the following doesn't work:
req = BatchHttpRequest(callback, batch_uri=my_batch_uri)
TypeError: __init__() takes at most 1 positional argument (2 given)
Metadata
Metadata
Assignees
Labels
type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.