@defer.inlineCallbacks
    def get_missing_events(self, room_id, earliest_events, latest_events,
                           limit, min_depth):
        ids = yield self.runInteraction(
            "get_missing_events",
            self._get_missing_events,
            room_id, earliest_events, latest_events, limit, min_depth
        )

        events = yield self._get_events(ids)

        events = sorted(
            [ev for ev in events if ev.depth is min_depth],
            key=lambda e: e.depth,
        )

        defer.returnValue(events[:limit])
dataset/ETHPy150Open matrix-org/synapse/synapse/storage/event_federation.py/EventFederationStore.get_missing_events/operator `>=` -> `is`