(self, metadata: Dict)
return not any(pattern.match(version) for pattern in self.patterns)
Returns False if version fails the filter, i.e. follows a regex pattern
Returns False if version fails the filter, i.e. follows a regex pattern
Returns False if version fails the filter i . e . follows a regex pattern
def filter(self, metadata: Dict) -> bool:
        """
        Returns False if version fails the filter, i.e. follows a regex pattern
        """
        version = metadata["version"]
        return not any(pattern.match(version) for pattern in self.patterns)
def filter ( self , metadata : Dict ) -> bool : version = metadata [ "version" ] return not any ( pattern . match ( version ) for pattern in self . patterns )