Skip to content

Commit 42d9ba8

Browse files
committed
added type hint
1 parent 8657bfa commit 42d9ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phenopacket_mapper/mapping/phenopacket_building_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def map(self, instance: DataModelInstance):
4444
return self.phenopacket_element(**kwargs)
4545

4646

47-
def map_single(key, e, instance, kwargs):
47+
def map_single(key, e, instance: DataModelInstance, kwargs):
4848
if isinstance(e, DataField):
4949
data_field = e
5050
try:

0 commit comments

Comments
 (0)