class EndpointHandler(): def __init__(self, path=""): pass def __call__(self, data): return 42