def __init__(self, depth, primary=False): """ :param depth: :type depth: HWPCDepthLevel """ DispatchRule.__init__(self, primary) self.depth = depth self.fields = self._set_field()
def __init__(self, primary=False): DispatchRule.__init__(self, primary) self.fields = ['A', 'B']