def __init__(self, **args): Linkable.__init__(self, **args) self.type: GatewayType = self.expects( args, 'type', GatewayType.Exclusive) self.ignore_attrs('type')
def __init__(self, **args): Linkable.__init__(self, **args) self.type: EventType = self.expects(args, 'type', EventType.Start) self.definition = self.expects(args, 'definition', EventDefinition.Default) self.attachedTo = self.expects(args, 'attachedTo') self.cancelActivity = self.expects(args, 'cancelActivity', True) self.ignore_attrs('type', 'definition', 'attachedTo')
def __init__(self, **args): Linkable.__init__(self, **args) self.flag = self.expects(args, 'flag', ActivityFlag.Default) self.ignore_attrs('flag')