def get(self, default=None):
    """
    Get the result of the Job, or return *default* if the job is not finished
    or errored. This function will never explicitly raise an exception. Note
    that the *default* value is also returned if the job was cancelled.

    # Arguments
    default (any): The value to return when the result can not be obtained.
    """

    if not self.__cancelled and self.__state == Job.SUCCESS:
      return self.__result
    else:
      return default
Get the result of the Job, or return *default* if the job is not finished
    or errored. This function will never explicitly raise an exception. Note
    that the *default* value is also returned if the job was cancelled.

    # Arguments
    default (any): The value to return when the result can not be obtained.