Skip to content

Commit

Permalink
Add Generic Type Hints to SourceDataProviderFilter (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Feb 23, 2023
1 parent c1b1a92 commit b9e1f71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bomf/filter/sourcedataproviderfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def __init__(self, candidate_filter: Filter[Candidate]):
self._filter = candidate_filter

@overload
async def apply(self, source_data_provider: JsonFileSourceDataProvider) -> SourceDataProvider[Candidate, KeyTyp]:
async def apply(
self, source_data_provider: JsonFileSourceDataProvider[Candidate, KeyTyp]
) -> SourceDataProvider[Candidate, KeyTyp]:
...

@overload
Expand Down

0 comments on commit b9e1f71

Please sign in to comment.