code: def query_target(target_chembl_id):
      
      query_dict = {'query': 'target',
                    'params': {'target_chembl_id': target_chembl_id,
                               'limit': 1}}
      res = send_query(query_dict)
      target = res['targets'][0]
      return target
docs: Query ChEMBL API target by id
  
      Parameters
      ----------
      target_chembl_id : str
  
      Returns
      -------
      target : dict
          dict parsed from json that is unique for the target