Commit fc72e749 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix: add __contains__ to dict_protocol_catcher to avoid breaking on "in"

Before this commit, doing:

    stuff = dict_protocol_catcher(entity)
    not_in_entity in stuff

Would break because since __contains__ doesn't exist, __getitem__ is called
instead and fails with a KeyError.
parent b823d5ee1752
Pipeline #8338 failed with stages
in 168 minutes and 1 second