code: def register_preprocessor(name: str):
      def wrap(preprocessing_config: BasePreprocessingConfig):
          preprocessing_registry[name] = preprocessing_config
          return preprocessing_config
  
      return wrap
  
file_path: ludwig/ludwig/schema/features/preprocessing/utils.py
imports: from dataclasses import field
  from marshmallow import fields, ValidationError
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.schema import utils
  from ludwig.schema.features.preprocessing.base import BasePreprocessingConfig
  from ludwig.utils.registry import Registry
label_desc: Use image node_id 1 for calling a global function with example usage: register_preprocessor(name) and returns: wrap, preprocessing_config