MCPcopy Index your code
hub / github.com/blacklanternsecurity/bbot / finish

Method finish

bbot/modules/base.py:275–286  ·  view source on GitHub ↗

Asynchronously performs final tasks as the scan nears completion. This method can be overridden to execute any necessary finalization logic. For example, if the module relies on a word cloud, you might wait for the scan to finish to ensure the word cloud is most complete before running an o

(self)

Source from the content-addressed store, hash-verified

273 return True
274
275 async def finish(self):
276 """Asynchronously performs final tasks as the scan nears completion.
277
278 This method can be overridden to execute any necessary finalization logic. For example, if the module relies on a word cloud, you might wait for the scan to finish to ensure the word cloud is most complete before running an operation.
279
280 Returns:
281 None
282
283 Warnings:
284 This method may be called multiple times since it can raise events, which may re-trigger the "finish" phase of the scan. Optional to override.
285 """
286 return
287
288 async def report(self):
289 """Asynchronously executes a final task after the scan is complete but before cleanup.

Callers 3

_handle_batchMethod · 0.95
_workerMethod · 0.95
_workerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected