Skip to content
Snippets Groups Projects
Commit cde5e506 authored by Kien Le's avatar Kien Le
Browse files

Fix type hint for getGaps

parent 36da5f41
No related branches found
No related tags found
1 merge request!31Add type hint to controller code
......@@ -117,8 +117,8 @@ def getTitle(key: Union[str, Tuple[str, str]], minTime: float, maxTime: float,
)
def getGaps(gaps: List[Tuple[float, float]], gapMin: float
) -> List[Tuple[float, float]]:
def getGaps(gaps: List[List[float]], gapMin: float
) -> List[List[float]]:
"""
:param gaps: [[float, float],] - list of gaps
:param gapMin: float - minimum of gaps count in minutes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment