10 lines
246 B
Python
10 lines
246 B
Python
from .models import ImageSession, ProcessingJob
|
|
|
|
|
|
def image_session_get(*, session_id):
|
|
return ImageSession.objects.filter(id=session_id).first()
|
|
|
|
|
|
def processing_job_get(*, job_id):
|
|
return ProcessingJob.objects.filter(id=job_id).first()
|