def test_type(self):
        assert isinstance(event.Priority.DEFAULT, int)
def _to_python(self, value):
        if isinstance(value, Proxy):
            return value.get()
        else:
            return value