Base query for a target.

        Args:
            session: database session to query in

def _base_query(self, session):
        """Base query for a target.

        Args:
            session: database session to query in
        """
        return session.query(ORMTargetMarker) \
            .filter(ORMTargetMarker.name == self.name) \
            .filter(ORMTargetMarker.params == self.params)