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 4369a70 commit 105131fCopy full SHA for 105131f
ingest/cell_metadata.py
@@ -22,11 +22,19 @@
22
# Welcome comments about whether this should live here or in the class
23
@dataclass
24
class Document(TypedDict):
25
- name: str
26
- study_accession: str
27
- unique_values: List
28
- annotation_type: str
29
- file_id: str
+ def __init__(
+ self,
+ name: str,
+ study_accession: str,
+ unique_values: List,
30
+ annotation_type: str,
31
+ file_id: str,
32
+ ):
33
+ self.name = name
34
+ self.study_accession = study_accession
35
+ self.unique_values = unique_values
36
+ self.annotation_type = annotation_type
37
+ self.file_id = file_id
38
39
40
0 commit comments