@classmethod
    def __key(cls, opts, **kwargs):
        if kwargs in 'master_uri':
            opts['master_uri'] = kwargs['master_uri']
        return (opts['pki_dir'],     # where the keys are stored
                opts['id'],          # minion ID
                opts['master_uri'],
                kwargs.get('crypt', 'aes'),  # TODO: use the same channel for crypt
                )

    # has to remain empty for singletons, since __init__ will *always* be called
dataset/ETHPy150Open saltstack/salt/salt/transport/tcp.py/AsyncTCPReqChannel.__key/swapped operands of `in`