aliyun/log/etl_core/transform/transform_meta.py [27:36]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if isinstance(config, (six.text_type, six.binary_type)):
            self.check = get_re_full_match(config)
        elif isinstance(config, list):  # string list
            checks = [get_re_full_match(c) for c in config]
            self.check = lambda k: any(ck(k) for ck in checks)
        else:
            raise SettingError(None, "keep_fields setting {0} is not supported".format(config))

    @support_event_list_simple
    def __call__(self, event):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aliyun/log/etl_core/transform/transform_meta.py [44:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if isinstance(config, (six.text_type, six.binary_type)):
            self.check = get_re_full_match(config)
        elif isinstance(config, list):  # string list
            checks = [get_re_full_match(c) for c in config]
            self.check = lambda k: any(ck(k) for ck in checks)
        else:
            raise SettingError(None, "keep_fields setting {0} is not supported".format(config))

    @support_event_list_simple
    def __call__(self, event):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



