old_contents: """
  Methods for interacting with Tanda shifts
  """
  from flask import session
  from flask_login import current_user
  from swappr.user.tanda_api import tanda_auth
  
  
  def fetch_current_user_upcoming_shifts():
      shift_info = tanda_auth.get('rosters/current').data
      valid_shifts = []
      print(current_user.utc_offset)
      for i in range(len(shift_info["schedules"])):
          #at this point, we examining all the schedules for a particular day
          for j in range(len(shift_info["schedules"][i]["schedules"])):
              sched_item = shift_info["schedules"][i]["schedules"][j]
              if (sched_item["user_id"] == current_user.employee_id):
                  sched_item["date"] = shift_info["schedules"][i]["date"]
                  sched_item["adjusted_start"] = sched_item["start"] + current_user.utc_offset
                  sched_item["adjusted_finish"] = sched_item["finish"] + current_user.utc_offset
                  valid_shifts.append(sched_item)
      print(valid_shifts)
      return valid_shifts
  
  
new_contents: """
  Methods for interacting with Tanda shifts
  """
  from flask import session
  from flask_login import current_user
  from swappr.user.tanda_api import tanda_auth
  
  
  def fetch_current_user_upcoming_shifts():
      shift_info = tanda_auth.get('rosters/current').data
      valid_shifts = []
      for i in range(len(shift_info["schedules"])):
          #at this point, we examining all the schedules for a particular day
          for j in range(len(shift_info["schedules"][i]["schedules"])):
              sched_item = shift_info["schedules"][i]["schedules"][j]
              if (sched_item["user_id"] == current_user.employee_id):
                  sched_item["date"] = shift_info["schedules"][i]["date"]
                  sched_item["adjusted_start"] = sched_item["start"] + current_user.utc_offset
                  sched_item["adjusted_finish"] = sched_item["finish"] + current_user.utc_offset
                  valid_shifts.append(sched_item)
      return valid_shifts
  
  
subject: remove some big print statements