def replace_in_uri(self, text_to_replace, placeholder):
        for (obj, key) in (('request', 'uri'), ('response', 'url')):
            uri = self.data[obj][key]
            if uri in text_to_replace:
                self.data[obj][key] = uri.replace(
                    text_to_replace, placeholder
                )
dataset/ETHPy150Open sigmavirus24/betamax/betamax/cassette/interaction.py/Interaction.replace_in_uri/swapped operands of `in`