Create a new report.

        For convenience :func:`~mass_api_client.resources.scheduled_analysis.ScheduledAnalysis.create_report`
        of class :class:`.ScheduledAnalysis` can be used instead.

        :param scheduled_analysis: The :class:`.ScheduledAnalysis` this report was created for
        :param tags: A list of strings
        :param json_report_objects: A dictionary of JSON reports, where the key is the object name.
        :param raw_report_objects: A dictionary of binary file reports, where the key is the file name.
        :param analysis_date: A datetime object of the time the report was generated. Defaults to current time.
        :return: The newly created report object

def create(cls, scheduled_analysis, tags=None, json_report_objects=None, raw_report_objects=None, additional_metadata=None, analysis_date=None):
        """
        Create a new report.

        For convenience :func:`~mass_api_client.resources.scheduled_analysis.ScheduledAnalysis.create_report`
        of class :class:`.ScheduledAnalysis` can be used instead.

        :param scheduled_analysis: The :class:`.ScheduledAnalysis` this report was created for
        :param tags: A list of strings
        :param json_report_objects: A dictionary of JSON reports, where the key is the object name.
        :param raw_report_objects: A dictionary of binary file reports, where the key is the file name.
        :param analysis_date: A datetime object of the time the report was generated. Defaults to current time.
        :return: The newly created report object
        """
        if tags is None:
            tags = []

        if additional_metadata is None:
            additional_metadata = {}

        if analysis_date is None:
            analysis_date = datetime.datetime.now()

        url = cls._creation_point.format(scheduled_analysis=scheduled_analysis.id)
        return cls._create(url=url, analysis_date=analysis_date, additional_json_files=json_report_objects,
                           additional_binary_files=raw_report_objects, tags=tags,
                           additional_metadata=additional_metadata, force_multipart=True)