feat(v1): add basic backend and frontend
This commit is contained in:
9
backend/processing/selectors.py
Normal file
9
backend/processing/selectors.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user