This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
get_analysis and analysis_modules with instances is confusing #73
Labels
refactoring
Simply code by restructuring.
If you're dealing with an analysis module that is using "instances",
then instead of this
analysis = observable.get_analysis(self.generated_analysis_type)
you have to do this
analysis = observable.get_analysis(self.generated_analysis_type, instance=self.instance)
That should be taken care of in behind the scenes instead of forcing the developer to figure that out.
The text was updated successfully, but these errors were encountered: