Closed elacuesta closed 1 year ago
How would one use this feature, e.g. in the https://github.com/scrapinghub/web-poet/issues/136 case? I think we need to be able to set the adapter list to use in web-poet when it generates and runs tests, and the actual contents of the list need to be user-defined?
@kmike what do you think?
How would one use this feature, e.g. in the https://github.com/scrapinghub/web-poet/issues/136 case? I think we need to be able to set the adapter list to use in web-poet when it generates and runs tests, and the actual contents of the list need to be user-defined?
@wRAR This makes sense. It can also be a path to ItemAdapter class (or the class itself), not sure what's better.
Are we sure it will be possible to provide some interface in web-poet to use this? I guess we could make some setting for the class list and create the subclass inside the web-poet code based on it. Asking the user to create the subclass is probably more work for the user.
Codecov Report
100.00% <100.00%> (ø)
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.