Skip to content

Commit

Permalink
Sort @overloads from specific to general (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Feb 24, 2023
1 parent 0547db3 commit b1b1936
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bomf/filter/sourcedataproviderfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ async def apply(
...

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

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

@overload
Expand Down

0 comments on commit b1b1936

Please sign in to comment.