def render()

in osci/notify/generate_email/email.py [0:0]


    def render(self,
               date: datetime,
               compared_date: datetime,
               shift_up: pd.DataFrame,
               shift_down: pd.DataFrame,
               company: str,
               company_position: pd.DataFrame,
               solutionshub_osci_change_ranking: str,
               osci_reports_urls: dict
               ) -> str:
        return self.template.render(
            date=date,
            compared_date=compared_date,
            shift_up=shift_up.to_html(index=False),
            shift_down=shift_down.to_html(index=False),
            company=company,
            company_position=company_position.to_html(index=False),
            solutionshub_osci_change_ranking=solutionshub_osci_change_ranking,
            **osci_reports_urls
        )