Skip to content

Commit 6dd8074

Browse files
author
David Rickett
committed
Update typehints
1 parent b3f789c commit 6dd8074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/easyhla/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
import re
33
from pydantic import BaseModel
4-
from typing import Optional, Dict, List, Tuple
4+
from typing import Optional, Dict, List, Tuple, Set
55
from pydantic_numpy.ndarray import NDArray
66

77

@@ -55,7 +55,7 @@ def get_collection(
5555
(a[0].strip().split(":"), a[1].strip().split(":")) for a in self.alleles
5656
]
5757

58-
def get_unique_collection(self) -> set[str]:
58+
def get_unique_collection(self) -> Set[str]:
5959
return {
6060
f"{e[0][0]}, {e[1][0]}" for e in self.get_collection(remove_subtype=True)
6161
}

0 commit comments

Comments
 (0)