Skip to content

Commit 5833c89

Browse files
authored
Merge pull request #126 from fastlabel/fix-support-type-since-python37
fix: type
2 parents 08d7a7b + f2f5139 commit 5833c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlabel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ def __get_cv_draw_points(self, points: List[int]) -> List[int]:
22362236
cv_points.append((new_points[i * 2], new_points[i * 2 + 1]))
22372237
return np.array(cv_points)
22382238

2239-
def __reverse_points(self, points: list[int]) -> list[int]:
2239+
def __reverse_points(self, points: List[int]) -> List[int]:
22402240
"""
22412241
e.g.)
22422242
[4, 5, 4, 9, 8, 9, 8, 5, 4, 5] => [4, 5, 8, 5, 8, 9, 4, 9, 4, 5]
@@ -2863,7 +2863,7 @@ def create_task_from_aws_s3(
28632863
self,
28642864
project: str,
28652865
status: str = "registered",
2866-
tags: list[str] = [],
2866+
tags: List[str] = [],
28672867
priority: int = 0,
28682868
) -> dict:
28692869
"""

0 commit comments

Comments
 (0)