def get_playlist_raw(playlist_id): """ Return given playlist as active record. """ return base_service.get_instance(Playlist, playlist_id, PlaylistNotFoundException)
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)
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)
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)
def get_output_type_raw(output_type_id): """ Return given output type as active record. """ return get_instance(OutputType, output_type_id, OutputTypeNotFoundException)
def get_software_raw(software_id): """ Return given software as active record. """ return get_instance(Software, software_id, SoftwareNotFoundException)
def get_output_file_raw(output_file_id): """ Return given output file as active record. """ return get_instance(OutputFile, output_file_id, OutputFileNotFoundException)
def get_working_file_raw(working_file_id): """ Return given working file as active record. """ return get_instance(WorkingFile, working_file_id, WorkingFileNotFoundException)
def get_attachment_file_raw(attachment_file_id): return base_service.get_instance(AttachmentFile, attachment_file_id, AttachmentFileNotFoundException)