def include_undiscoverable(self, value):
        rv = self._clone(mark_dirty=True)
        rv._include_undiscoverable = value

        # If we flip from not including undiscoverables to discoverables
        # but we did not yet decide on the value of _include_hidden it
        # becomes False to not include it.
        if rv._include_hidden is None and value:
            rv._include_hidden = False

        return rv
Controls if undiscoverable records should be included as well.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Query.include_undiscoverable