Source code for opyenxes.classification.XEventResourceClassifier
from opyenxes.classification.XEventAttributeClassifier import XEventAttributeClassifier
[docs]class XEventResourceClassifier(XEventAttributeClassifier):
"""Implements an event classifier based on the resource name attribute of
events.
"""
def __init__(self):
super().__init__("Resource", ["org:resource"])