Package arvados :: Module safeapi :: Class ThreadSafeApiCache
[hide private]
[frames] | no frames]

Class ThreadSafeApiCache

source code

builtins.object --+
                  |
                 ThreadSafeApiCache

Threadsafe wrapper for API objects.

This stores and returns a different api object per thread, because httplib2 which underlies apiclient is not threadsafe.

Instance Methods [hide private]
 
__init__(self, apiconfig=None, keep_params={}, api_params={}) source code
 
localapi(self) source code
 
__getattr__(self, name) source code