def __init__(self, result_array): """The client should write True in the second element of result_array if it gets a proper request from Wikipedia.org.""" AsyncHttpClient.__init__(self, 'http://www.wikipedia.org') self.result_array = result_array
def __init__(self, url, output_array, index): """Create an Edgar client to write the pair (filing_date, period_date) on the output_array at index 'index'.""" self.output_array = output_array self.index = index AsyncHttpClient.__init__(self, url)
def __init__(self, result_array): """The client should write True in the first element of result_array if it gets a proper request from Google.""" AsyncHttpClient.__init__(self, 'http://www.google.com') self.result_array = result_array