Simplify a bit the ContentIndexer and normalize the run() method
- remove the `self.result` attribute and make this an actual output of the `run()` method - refactor the `process_journal_objects` to use `run()` to prevent code duplication.
parent
c23ef4ec
No related branches found
No related tags found
Checking pipeline status
Showing
- swh/indexer/indexer.py 44 additions, 104 deletionsswh/indexer/indexer.py
- swh/indexer/metadata.py 3 additions, 4 deletionsswh/indexer/metadata.py
- swh/indexer/tests/test_indexer.py 3 additions, 3 deletionsswh/indexer/tests/test_indexer.py
- swh/indexer/tests/utils.py 2 additions, 2 deletionsswh/indexer/tests/utils.py
Loading
Please register or sign in to comment