Subclasses must implement applies and return a boolean to indicate whether the subclass should apply or not to the obj.
(cls, obj)
| 234 | |
| 235 | @classmethod |
| 236 | def applies(cls, obj): |
| 237 | """ |
| 238 | Subclasses must implement applies and return a boolean to indicate |
| 239 | whether the subclass should apply or not to the obj. |
| 240 | """ |
| 241 | return True |
| 242 | |
| 243 | def __init__( |
| 244 | self, |