Example #1
0
def get_playlist_raw(playlist_id):
    """
    Return given playlist as active record.
    """
    return base_service.get_instance(Playlist, playlist_id,
                                     PlaylistNotFoundException)
Example #2
0
def get_build_job_raw(build_job_id):
    """
    Return given build job as active record.
    """
    return base_service.get_instance(BuildJob, build_job_id,
                                     BuildJobNotFoundException)
Example #3
0
def get_asset_instance_raw(asset_instance_id):
    """
    Return given asset instance as active record.
    """
    return base_service.get_instance(AssetInstance, asset_instance_id,
                                     AssetInstanceNotFoundException)
Example #4
0
def get_task_status_raw(task_status_id):
    """
    Get task status matching given id as an active record.
    """
    return base_service.get_instance(TaskStatus, task_status_id,
                                     TaskStatusNotFoundException)
Example #5
0
def get_output_type_raw(output_type_id):
    """
    Return given output type as active record.
    """
    return get_instance(OutputType, output_type_id,
                        OutputTypeNotFoundException)
Example #6
0
def get_software_raw(software_id):
    """
    Return given software as active record.
    """
    return get_instance(Software, software_id, SoftwareNotFoundException)
Example #7
0
def get_output_file_raw(output_file_id):
    """
    Return given output file as active record.
    """
    return get_instance(OutputFile, output_file_id,
                        OutputFileNotFoundException)
Example #8
0
def get_working_file_raw(working_file_id):
    """
    Return given working file as active record.
    """
    return get_instance(WorkingFile, working_file_id,
                        WorkingFileNotFoundException)
Example #9
0
def get_attachment_file_raw(attachment_file_id):
    return base_service.get_instance(AttachmentFile, attachment_file_id,
                                     AttachmentFileNotFoundException)