/usr/lib/python2.6/site-packages/openstackclient/common
Edit: /usr/lib/python2.6/site-packages/openstackclient/common/session.pyc (1809B)
Ńň
;vVc @ s3 d Z d d k l Z d e i f d YZ d S( s" Subclass of keystoneclient.sessioni˙˙˙˙( t sessiont
TimingSessionc B s2 e Z d Z d Z d Z d Z d Z RS( s@ A Session that supports collection of timing data per Method URLc K s# t t | i | g | _ d S( s( Pass through all arguments except timingN( t superR t __init__t times( t selft kwargs( ( sN /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/common/session.pyR s c C s | i S( N( R ( R ( ( sN /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/common/session.pyt get_timings s c C s
g | _ d S( N( R ( R ( ( sN /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/common/session.pyt
reset_timings# s c K s t t | i | | | } x@ | i D]5 } | i i d | i i | i i f | i f q( W| i i d | i i | i i f | i f | S( s/ Wrap the usual request() method with the timerss %s %s( R R t requestt historyR t appendt methodt urlt elapsed( R R
R R t respt h( ( sN /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/common/session.pyR &