Skip to content

Commit 8fa7525

Browse files
committed
improving maintainability
1 parent a141b57 commit 8fa7525

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jira_dump/base.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ def transitions(self) -> Iterator[Dict[str, str]]:
223223
def issues(self) -> Iterator[Dict[str, str]]:
224224
return map(partial(extract_dict, fields=self.jira_fields), self.jira_issues)
225225

226-
def map_issues(
227-
self, func: Callable[[Dict[str, Any]], Iterator[Dict[str, str]]]
228-
) -> Iterator[Dict[str, str]]:
226+
def map_issues(self, func: Parser) -> Iterator[Dict[str, str]]:
229227
return chain.from_iterable(map(func, self.jira_issues))
230228

231229
@property

0 commit comments

Comments
 (0)