@beartypeclassAnalysis(AnalysisInterface):"""Class that calculates the EPS slope."""under_development=Trueyears_of_analysis=5defanalyze(self)->Optional[pd.DataFrame]:# Create the filter we'll use to scrape the resultssec_filter=Sec.Filter(tags=["EarningsPerShareDiluted"],years=self.years_of_analysis,last_report=self.options.final_report,only_annual=True,# We only want the 10-K)# This is an expensive operationresults=Sec.filter_data(tickers=self.options.tickers,sec_filter=sec_filter)returnresults.select("slope").data# Reuse documentation from parentanalyze.__doc__=AnalysisInterface.analyze.__doc__