def __init__(self, session_identifier=None):
    """Initializes a task attribute container.

    Args:
      session_identifier (Optional[str]): identifier of the session the task
          is part of.
    """
    super(Task, self).__init__()
    self.aborted = False
    self.completion_time = None
    self.file_entry_type = None
    self.has_retry = False
    self.identifier = '{0:s}'.format(uuid.uuid4().hex)
    self.last_processing_time = None
    self.merge_priority = None
    self.path_spec = None
    self.session_identifier = session_identifier
    self.start_time = int(time.time() * definitions.MICROSECONDS_PER_SECOND)
    self.storage_file_size = None
def __init__ ( self , session_identifier = None ) : super ( Task , self ) . __init__ ( ) self . aborted = False self . completion_time = None self . file_entry_type = None self . has_retry = False self . identifier = '{0:s}' . format ( uuid . uuid4 ( ) . hex ) self . last_processing_time = None self . merge_priority = None self . path_spec = None self . session_identifier = session_identifier self . start_time = int ( time . time ( ) * definitions . MICROSECONDS_PER_SECOND ) self . storage_file_size = None
Initializes a task attribute container.

    Args:
      session_identifier (Optional[str]): identifier of the session the task
          is part of.