-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input_processor called only once #36
Comments
Hi @dolohow , I'm having trouble understanding the behavior you are describing. |
@redapple I work around this by creating a custom pipeline for validation.
# first one that is called
currency_in = MapCompose(lambda x: x[0])
# second one that is not called
currency = scrapy.Field(input_processor=MapCompose(utils.get_unified_currency_name)) but if you remove the |
I think it is indeed intended behavior, and I’m personally not sure it would be wise to implement a way to change that behavior. |
Hi guys,
I am using
input_processor
on customItemLoader
along one insideField
declaration that belongs toItem
which is being used byItemLoader
. The problem is that onlyItemLoader
fires up theinput_processor
. Is it a desired behavior?Related code:
The text was updated successfully, but these errors were encountered: