(self, release_filters: List["Filter"])
return False
Filter releases and removes releases that fail the filters
Filter releases and removes releases that fail the filters
Filter releases and removes releases that fail the filters
def filter_all_releases(self, release_filters: List["Filter"]) -> bool:
        """
        Filter releases and removes releases that fail the filters
        """
        releases = list(self.releases.keys())
        for version in releases:
            release_data = {
                "version": version,
                "releases": self.releases,
                "info": self.info,
            }
            if not all(plugin.filter(release_data) for plugin in release_filters):
                del self.releases[version]
        if releases:
            return True
        return False
def filter_all_releases ( self , release_filters : List [ "Filter" ] ) -> bool : releases = list ( self . releases . keys ( ) ) for version in releases : release_data = { "version" : version , "releases" : self . releases , "info" : self . info , } if not all ( plugin . filter ( release_data ) for plugin in release_filters ) : del self . releases [ version ] if releases : return True return False