コード例 #1
0
def get_playlist_raw(playlist_id):
    """
    Return given playlist as active record.
    """
    return base_service.get_instance(Playlist, playlist_id,
                                     PlaylistNotFoundException)
コード例 #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)
コード例 #3
0
ファイル: assets_service.py プロジェクト: withgame/zou
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)
コード例 #4
0
ファイル: tasks_service.py プロジェクト: tpolson/zou
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)
コード例 #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)
コード例 #6
0
def get_software_raw(software_id):
    """
    Return given software as active record.
    """
    return get_instance(Software, software_id, SoftwareNotFoundException)
コード例 #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)
コード例 #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)
コード例 #9
0
def get_attachment_file_raw(attachment_file_id):
    return base_service.get_instance(AttachmentFile, attachment_file_id,
                                     AttachmentFileNotFoundException)