Various sundry changes.
[python_utils.git] / predicate.py
1 #!/usr/bin/env python3
2
3 from abc import ABC, abstractmethod
4 from typing import Any
5
6
7 class Predicate(ABC):
8     def __init__(self):
9         super().__init__()
10
11     @abstractmethod
12     def apply(self, item: Any) -> bool:
13         pass