Module Import alias Import alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Num NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body If UnaryOpNot NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad IfExp NameLoad Str Str NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If NameLoad body If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad TupleLoad body Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad BoolOpOr NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Raise Call NameLoad Str Call NameLoad NameLoad NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Raise Call NameLoad Str Call NameLoad NameLoad NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Raise Call NameLoad Str Call NameLoad NameLoad NameLoad If BoolOpAnd UnaryOpNot CompareLtELt Num AttributeLoad NameLoad attr Num CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A time N/A warnings N/A N/A N/A requests N/A REQUESTS_AVAILABLE True N/A N/A N/A ImportError N/A N/A REQUESTS_AVAILABLE False base Connection exceptions ConnectionError ImproperlyConfigured ConnectionTimeout SSLError compat urlencode RequestsHttpConnection N/A Connection N/A N/A 
    Connection using the `requests` library.

    :arg http_auth: optional http auth information as either ':' separated
        string or a tuple
    :arg use_ssl: use ssl for the connection if `True`
    :arg verify_certs: whether to verify SSL certificates
    :arg ca_certs: optional path to CA bundle. By default standard requests'
        bundle will be used.
    :arg client_cert: path to the file containing the private key and the
        certificate
     __init__ N/A N/A self host port http_auth use_ssl verify_certs ca_certs client_cert N/A localhost 9200 None False False None None kwargs N/A N/A N/A REQUESTS_AVAILABLE N/A N/A N/A ImproperlyConfigured Please install requests to use RequestsHttpConnection. N/A N/A N/A N/A super RequestsHttpConnection self __init__ host host port port kwargs N/A N/A self session N/A N/A requests session N/A N/A http_auth None N/A N/A N/A N/A isinstance http_auth N/A tuple list N/A N/A http_auth N/A N/A http_auth split : 1 N/A http_auth N/A tuple http_auth N/A N/A N/A self session auth http_auth N/A N/A self base_url N/A http%s://%s:%d%s N/A N/A use_ssl s host port N/A self url_prefix N/A N/A N/A self session verify verify_certs N/A N/A N/A self session cert client_cert N/A ca_certs N/A N/A N/A verify_certs N/A N/A N/A ImproperlyConfigured You cannot pass CA certificates when verify SSL is off. N/A N/A N/A self session verify ca_certs N/A N/A use_ssl N/A verify_certs N/A N/A N/A N/A warnings warn N/A Connecting to %s using SSL with verify_certs=False is insecure. N/A self base_url N/A perform_request N/A N/A self method url params body timeout ignore N/A None None None N/A N/A N/A url N/A N/A self base_url url N/A params N/A N/A url N/A %s?%s N/A url N/A urlencode N/A params N/A N/A start N/A N/A time time N/A N/A N/A response N/A N/A N/A self session request method url data body timeout N/A timeout N/A self timeout N/A duration N/A N/A N/A time time start N/A raw_data N/A response text N/A N/A N/A N/A N/A requests exceptions SSLError N/A e N/A N/A N/A N/A self log_request_fail method url body N/A N/A N/A time time start exception e N/A N/A SSLError N/A N/A str e e N/A N/A N/A requests Timeout N/A e N/A N/A N/A N/A self log_request_fail method url body N/A N/A N/A time time start exception e N/A N/A ConnectionTimeout TIMEOUT N/A str e e N/A N/A N/A requests ConnectionError N/A e N/A N/A N/A N/A self log_request_fail method url body N/A N/A N/A time time start exception e N/A N/A ConnectionError N/A N/A str e e N/A N/A N/A N/A 200 N/A response status_code 300 N/A N/A response status_code ignore N/A N/A N/A N/A self log_request_fail method url body duration N/A response status_code N/A N/A N/A self _raise_error N/A response status_code raw_data N/A N/A N/A self log_request_success method url N/A N/A response request path_url body N/A response status_code raw_data duration N/A N/A N/A response status_code N/A response headers raw_data N/A N/A