Skip to content

Commit 1a37184

Browse files
authored
Add comment noting ordering is preserved
1 parent 093ba46 commit 1a37184

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mavedb/routers/variants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def lookup_variants(
6363
logger.info(msg="No variants found for the provided Clingen Allele IDs.", extra=logging_context())
6464
raise HTTPException(status_code=404, detail="No variants found for the provided Clingen Allele IDs.")
6565

66+
# These dict methods will preserve key ordering.
6667
return list(variants_by_allele_id.values())
6768

6869

0 commit comments

Comments
 (0)