def configure(self, endpoint=None, **kwargs):
        if endpoint:
            kwargs['endpoint'] = endpoint
        keywords = self._keywords.copy()
        keywords.update(kwargs)
        if 'endpoint' in kwargs:
            # Then we need to correctly format the endpoint.
            endpoint = kwargs['endpoint']
            keywords['endpoint'] = self._configure_endpoint(endpoint)
        self.api_key = keywords['api_key'] or self._global_api_key()
        self.endpoint = keywords['endpoint']
        self.format = keywords['format'] or 'json'
        self.jurisdiction = keywords['jurisdiction']
        self.proxy = keywords['proxy']
        self.discovery_url = keywords['discovery'] or None

        # Use a custom requests session and set the correct SSL version if
        # specified.
        self.session = requests.Session()
        if 'ssl_version' in keywords:
            self.session.mount('https://', SSLAdapter(keywords['ssl_version']))
Stampy: mapping of short reads from illumina sequencing machines onto a reference genome.
dataset/ETHPy150Open codeforamerica/three/three/core.py/Three.configure--crossover with--dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/bio_nextgen.py/install_stampy