def dequalify(lens: Select.Lens) -> Select.Lens:
        """If the given selector qualifies record or app, remove that qualification."""

        if len(lens.path) == 0:
            return lens

        if Select.Record.is_prefix_of(lens) or Select.App.is_prefix_of(lens):
            return Select.Lens(path=lens.path[len(Select.Record) :])

        return lens
If the given selector qualifies record or app, remove that qualification.
src/core/trulens/core/schema/select.py