relevant note for current snapshot api

This commit is contained in:
pedro 2024-10-14 20:08:50 +02:00
parent e47a7d80f2
commit 4cad3eb063
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ def NewSnapshot(request):
annotation = Annotation.objects.filter( annotation = Annotation.objects.filter(
uuid=data['uuid'], uuid=data['uuid'],
type=Annotation.Type.SYSTEM, type=Annotation.Type.SYSTEM,
# TODO this is hardcoded, it should select the user preferred algorithm
key="hidalgo1", key="hidalgo1",
owner=tk.owner.institution owner=tk.owner.institution
).first() ).first()