def find_by_id()

in experiments/task_dispatch_service/{{destination_path}}/{{component_name}}/src/models/task.py [0:0]


  def find_by_id(cls, id):
    try:
      task = Task.collection.get(id)
    except ReferenceDocNotExist:
      return None

    return task