Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a custom constructor for extractors (#399)
The `__init__` method is somewhat clunky to override in subclasses, since you have to remember to take in the correct parameters and call `super(...)`` correctly. I propose this instead as a way to define the tasks for an extractor ``` python class MyExtractor(Extractor): def __init_tasks__(self): self.add_task(...) self.add_task(...) ```
- Loading branch information