Module Expr Str Import alias Import alias identifier Assign NameStore NameLoad TryExcept body Import alias ImportFrom alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass ClassDef bases NameLoad body If NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str If Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str Delete SubscriptDel NameLoad Index Str If NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign AttributeStore NameLoad attr Num Return Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign AttributeStore NameLoad attr Num Return Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign AttributeStore NameLoad attr Num Return Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign AttributeStore NameLoad attr Num Return Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
@author Luke Campbell <LCampbell@ASAScience.com>
@file connection
@date 05/24/12 09:29
@description Connection Class for elasticpy
 N/A requests N/A simplejson json N/A _use_gevent False N/A N/A N/A gevent gevent.coros RLock N/A _use_gevent True N/A N/A N/A ImportError N/A N/A ElasticConnection N/A object N/A N/A _use_gevent N/A N/A session None N/A session_lock N/A RLock __init__ N/A N/A self timeout N/A None params N/A N/A N/A self status_code 0 N/A N/A self timeout timeout N/A N/A self encoding None N/A N/A self headers N/A Content-Type Application/json; charset=utf-8 N/A N/A N/A params has_key encoding N/A N/A N/A self encoding utf8 N/A N/A params N/A encoding N/A _use_gevent N/A N/A N/A N/A ElasticConnection session None N/A N/A N/A N/A N/A ElasticConnection session_lock acquire N/A N/A ElasticConnection session N/A N/A requests Session params N/A N/A N/A N/A ElasticConnection session_lock release N/A N/A N/A self session N/A N/A requests Session timeout timeout params N/A get N/A N/A self url N/A N/A N/A N/A N/A response N/A N/A N/A self session get url headers N/A self headers timeout N/A self timeout N/A N/A N/A N/A requests ConnectionError N/A e N/A N/A N/A self status_code 0 N/A N/A error N/A e message N/A N/A self status_code N/A response status_code N/A N/A N/A json loads N/A response content encoding N/A self encoding N/A post N/A N/A self url data N/A N/A N/A body N/A N/A json dumps data N/A N/A N/A response N/A N/A N/A self session post url data body headers N/A self headers timeout N/A self timeout N/A N/A N/A N/A requests ConnectionError N/A e N/A N/A N/A self status_code 0 N/A N/A error N/A e message N/A N/A self status_code N/A response status_code N/A N/A N/A json loads N/A response content encoding N/A self encoding N/A put N/A N/A self url data N/A N/A N/A body N/A N/A json dumps data N/A N/A N/A response N/A N/A N/A self session post url data body headers N/A self headers timeout N/A self timeout N/A N/A N/A N/A requests ConnectionError N/A e N/A N/A N/A self status_code 0 N/A N/A error N/A e message N/A N/A self status_code N/A response status_code N/A N/A N/A json loads N/A response content encoding N/A self encoding N/A delete N/A N/A self url N/A N/A N/A N/A N/A response N/A N/A N/A self session delete url headers N/A self headers timeout N/A self timeout N/A N/A N/A N/A requests ConnectionError N/A e N/A N/A N/A self status_code 0 N/A N/A error N/A e message N/A N/A self status_code N/A response status_code N/A N/A N/A json loads N/A response content encoding N/A self encoding N/A N/A