def getProxy(self, url):
        pool = None
        if self._sharedPool:
            pool = self._pool
        elif self._persistent:
            pool = self._getConnectionPool()


        kwargs = {'version':        self._version,
                  'connectTimeout': self._connectTimeout,
                  'credentials':    self._credentials,
                  'contextFactory': self._contextFactory,
                  'pool':           pool}

        proxy = Proxy(url, **kwargs)

        if self._compressedHTTP:
            self._setContentDecoder(proxy)

        return proxy
Create a Proxy object by parameters passed to the factory.
dataset/ETHPy150Open tadeas/fastjsonrpc/fastjsonrpc/client.py/ProxyFactory.getProxy