docs: def get_current_term():
      """
      Returns a uw_sws.models.Term object,
      for the current term.
      """
      url = "{}/current.json".format(term_res_url_prefix)
      term = _json_to_term_model(get_resource(url))
  
      # A term doesn't become "current" until 2 days before the start of
      # classes.  That's too late to be useful, so if we're after the last
      # day of grade submission window, use the next term resource.
      if datetime.now() > term.grade_submission_deadline:
          return get_next_term()
  
      return term