'Annotate the primaryjoin and secondaryjoin
structures with \'foreign\' annotations marking columns
considered as foreign.'

def _annotate_fks(self):

    if self._has_foreign_annotations:
        return
    if self.consider_as_foreign_keys:
        self._annotate_from_fk_list()
    else:
        self._annotate_present_fks()
