Skip to content

Commit

Permalink
fix(classifier): typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Mar 4, 2020
1 parent 02c830f commit 3396d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stagesepx/classifier/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_offset(self) -> float:
def get_stage_set(self) -> typing.Set[str]:
return set(self.get_stage_list())

def to_dict(self) -> typing.Dict[str, typing.List[SingleClassifierResult]]:
def to_dict(self) -> typing.Dict[str, typing.List[typing.List[SingleClassifierResult]]]:
stage_list = list(self.get_stage_set())
try:
int(stage_list[0])
Expand Down

0 comments on commit 3396d40

Please sign in to comment.