Create a new :class:`.AnalysisRequest` on the server.

        :param sample: A `Sample` object
        :param analysis_system: The :class:`AnalysisSystem` that should be used for the analysis.
        :return: The created :class:`AnalysisRequest` object.

def create(cls, sample, analysis_system):
        """
        Create a new :class:`.AnalysisRequest` on the server.

        :param sample: A `Sample` object
        :param analysis_system: The :class:`AnalysisSystem` that should be used for the analysis.
        :return: The created :class:`AnalysisRequest` object.
        """
        return cls._create(sample=sample.url, analysis_system=analysis_system.url)