From b1b1936f95911b60fe04b524306b8d1ea99b5b60 Mon Sep 17 00:00:00 2001 From: konstantin Date: Fri, 24 Feb 2023 11:01:56 +0100 Subject: [PATCH] Sort `@overloads` from specific to general (#36) --- src/bomf/filter/sourcedataproviderfilter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bomf/filter/sourcedataproviderfilter.py b/src/bomf/filter/sourcedataproviderfilter.py index 07e0ea0..079e466 100644 --- a/src/bomf/filter/sourcedataproviderfilter.py +++ b/src/bomf/filter/sourcedataproviderfilter.py @@ -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