code: def get_objects_for_subject(subject=None,
                              object_category=None,
                              relation=None,
                              **kwargs):
      
      searchresult = search_associations(subject=subject,
                                         fetch_objects=True,
                                         rows=0,
                                         object_category=object_category,
                                         relation=relation,
                                         **kwargs
      )
      objs = searchresult['objects']
      return objs
docs: Convenience method: Given a subject (e.g. gene, disease, variant), return all associated objects (phenotypes, functions, interacting genes, etc)