from grow import Preprocessor
from protorpc import messages


class CustomPreprocessor(Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value

from grow import Preprocessor
from protorpc import messages


class CustomPreprocessor(Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self, **kwargs):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value

Update extension testdata to take **kwargs.
Update extension testdata to take **kwargs.
