code: def get_subjects_for_object(object=None,
                              subject_category=None,
                              subject_taxon=None,
                              relation=None,
                              **kwargs):
      
      searchresult = search_associations(object=object,
                                         fetch_subjects=True,
                                         rows=0,
                                         subject_category=subject_category,
                                         subject_taxon=subject_taxon,
                                         relation=relation,
                                         **kwargs
      )
      subjs = searchresult['subjects']
      return subjs
docs: Convenience method: Given a object (e.g. ontology term like phenotype or GO; interacting gene; disease; pathway etc), return all associated subjects (genes, variants, pubs, etc)