code: def get_scheduling_block(sub_array_id, block_id):
      
      block_ids = DB.get_sub_array_sbi_ids(sub_array_id)
      if block_id in block_ids:
          block = DB.get_block_details([block_id]).__next__()
          return block, HTTPStatus.OK
  
      return dict(error="unknown id"), HTTPStatus.NOT_FOUND
docs: Return the list of scheduling blocks instances associated with the sub
      array