def ensure_client(self, **kwargs):
        if self.client:
            return
        else:
            self.client = get_api_client(**kwargs)
Test whether the directory cwd is contained in a mercurial
dataset/ETHPy150Open dropbox/pynsot/pynsot/models.py/Resource.ensure_client--crossover with--dataset/ETHPy150Open hayd/pep8radius/pep8radius/vcs.py/using_hg