def GetRequestContext():
 global _threadLocalContext
 return _threadLocalContext.__dict__.setdefault('reqCtx', StringDict())

def GetRequestContext ( ) : global _threadLocalContext return _threadLocalContext . __dict__ . setdefault ( 'reqCtx' , StringDict ( ) )
get the requestcontext for the current thread .