def _handle_event(self, fd, event):
        read_fd = pycares.ARES_SOCKET_BAD
        write_fd = pycares.ARES_SOCKET_BAD
        if event == READ:
            read_fd = fd
        elif event in WRITE:
            write_fd = fd
        self._channel.process_fd(read_fd, write_fd)
dataset/ETHPy150Open saghul/aiodns/aiodns/__init__.py/DNSResolver._handle_event/operator `==` -> `in`