def get_connection(self, endpoint):
        if endpoint:
            return self.endpoints.get(endpoint)
        else:
            return self.conn

    # Message handler
This command causes the title of the window specified as an argument to be linked to the current file and selection.
dataset/ETHPy150Open mrjoes/tornadio2/tornadio2/session.py/Session.get_connection--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/windows.py/showSelectionInTitle