class_docstr: Task Scheduling controller.
  Notice time-zone is ALWAYS UTC
class_docstr_tok: ["Task","Scheduling","controller",".","Notice","time-zone","is","ALWAYS","UTC"]
code: def __deserialize_scheduled_jobs(serialized_jobs_dicts, current_jobs):
      # type: (List[Dict], List[ScheduleJob]) -> List[ScheduleJob]
      scheduled_jobs = [
          ScheduleJob().update(j) for j in serialized_jobs_dicts
      ]
      scheduled_jobs = {j.name: j for j in scheduled_jobs}
      current_scheduled_jobs = {j.name: j for j in current_jobs}
  
      # select only valid jobs, and update the valid ones state from the current one
      new_scheduled_jobs = [
          current_scheduled_jobs[name].update(j)
          if name in current_scheduled_jobs
          else j
          for name, j in scheduled_jobs.items()
      ]
      # verify all jobs
      for j in new_scheduled_jobs:
          j.verify()
  
      return new_scheduled_jobs
  
imports: import json
  import logging
  from datetime import datetime
  from threading import Thread, enumerate
  from time import sleep, time
  from typing import List, Union, Optional, Callable, Sequence, Dict
  from attr import attrs, attrib
  from dateutil.relativedelta import relativedelta
  from .job import ClearmlJob
  from .controller import PipelineController
  from ..backend_interface.util import datetime_from_isoformat, datetime_to_isoformat, mutually_exclusive
  from ..task import Task
label_desc: Use image node_id 12 for calling the TaskScheduler obj's underlying member method code with example usage: obj.__deserialize_scheduled_jobs(serialized_jobs_dicts, current_jobs) and returns: new_scheduled_jobs