src/dirbs/dimensions/transient_imei.py
def _calc_analysis_window(self, conn, curr_date=None):
        """
        Method used to calculate the analysis window (as a tuple) given a curr date.

        Arguments:
            conn: DIRBS Postgresql connection
            curr_date: current date of the analysis
        """
        analysis_end_date = compute_analysis_end_date(conn, curr_date)
        analysis_start_date = analysis_end_date - relativedelta.relativedelta(days=self._period)
        self._log_analysis_window(analysis_start_date, analysis_end_date)
        return analysis_start_date, analysis_end_date

        Method used to calculate the analysis window (as a tuple) given a curr date.

        Arguments:
            conn: DIRBS Postgresql connection
            curr_date: current date of the analysis
        
Method used to calculate the analysis window (as a tuple) given a curr date.
Method used to calculate the analysis window ( as a tuple ) given a curr date .
def _calc_analysis_window(self, conn, curr_date=None):
        analysis_end_date = compute_analysis_end_date(conn, curr_date)
        analysis_start_date = analysis_end_date - relativedelta.relativedelta(days=self._period)
        self._log_analysis_window(analysis_start_date, analysis_end_date)
        return analysis_start_date, analysis_end_date
def _calc_analysis_window ( self , conn , curr_date = None ) : analysis_end_date = compute_analysis_end_date ( conn , curr_date ) analysis_start_date = analysis_end_date - relativedelta . relativedelta ( days = self . _period ) self . _log_analysis_window ( analysis_start_date , analysis_end_date ) return analysis_start_date , analysis_end_date
Method used to calculate the analysis window (as a tuple) given a curr date.
Method used to calculate the analysis window ( as a tuple ) given a curr date .
"""
        Method used to calculate the analysis window (as a tuple) given a curr date.

        Arguments:
            conn: DIRBS Postgresql connection
            curr_date: current date of the analysis
        """
self
conn
DIRBS Postgresql connection
DIRBS Postgresql connection
curr_date
current date of the analysis
current date of the analysis