(self, timeline, user, provider, context, file_on_disk,
                 file_size, original_filename, data_label, error_message='')
Initialize the DataSource object.

        Args:
            timeline (Timeline): Timeline that this datasource is part of.
            user (User): The user who imported the data.
            provider (str): Name of the application that collected the data.
            context (str): Context on how the data was collected.
            file_on_disk (str): Path to uploaded file.
            file_size (int): Size on disk for uploaded file.
            original_filename (str): Original filename for uploaded file.
            data_label (str): Data label for the uploaded data.
            error_message (str): Optional error message in case the data source
                did not successfully import.
Initialize the DataSource object.
Initialize the DataSource object .
def __init__(self, timeline, user, provider, context, file_on_disk,
                 file_size, original_filename, data_label, error_message=''):
        """Initialize the DataSource object.

        Args:
            timeline (Timeline): Timeline that this datasource is part of.
            user (User): The user who imported the data.
            provider (str): Name of the application that collected the data.
            context (str): Context on how the data was collected.
            file_on_disk (str): Path to uploaded file.
            file_size (int): Size on disk for uploaded file.
            original_filename (str): Original filename for uploaded file.
            data_label (str): Data label for the uploaded data.
            error_message (str): Optional error message in case the data source
                did not successfully import.
        """
        super().__init__()
        self.timeline = timeline
        self.user = user
        self.provider = provider
        self.context = context
        self.file_on_disk = file_on_disk
        self.file_size = file_size
        self.original_filename = original_filename
        self.data_label = data_label
        self.error_message = error_message
def __init__ ( self , timeline , user , provider , context , file_on_disk , file_size , original_filename , data_label , error_message = '' ) : super ( ) . __init__ ( ) self . timeline = timeline self . user = user self . provider = provider self . context = context self . file_on_disk = file_on_disk self . file_size = file_size self . original_filename = original_filename self . data_label = data_label self . error_message = error_message