We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ce4a0 commit e5b1848Copy full SHA for e5b1848
preClinVar/validate.py
@@ -2,15 +2,14 @@
2
import logging
3
from typing import List, Tuple
4
5
-from _io import TextIOWrapper
6
from jsonschema import Draft3Validator, validate
7
8
from preClinVar.resources import subm_schema_path
9
10
LOG = logging.getLogger("uvicorn.access")
11
12
13
-def validate_submission(submission_dict: TextIOWrapper) -> Tuple[bool, List[str]]:
+def validate_submission(submission_dict: dict) -> Tuple[bool, List[str]]:
14
"""Validate a submission dictionary against the ClinVar submission schema."""
15
errors = []
16
with open(subm_schema_path) as schema_file:
0 commit comments