database/tableau_api_models.py
def params_dict(self):
        """
        Return a dict of params to pass into the Forest function.
        """
        other_params = {
            "output_folder": self.data_output_path,
            "study_folder": self.data_input_path,
            # Need to add a day since this model tracks time end inclusively, but Forest expects
            # it exclusively
            "time_end": datetime_to_list(self.data_date_end + datetime.timedelta(days=1)),
            "time_start": datetime_to_list(self.data_date_start),
        }
        if self.forest_tree == ForestTree.jasmine:
            other_params["all_BV_set"] = self.get_all_bv_set_dict()
            other_params["all_memory_dict"] = self.get_all_memory_dict_dict()
        return {**self.forest_param.params_for_tree(self.forest_tree), **other_params}

        Return a dict of params to pass into the Forest function.
        
Return a dict of params to pass into the Forest function.
Return a dict of params to pass into the Forest function .
def params_dict(self):
        other_params = {
            "output_folder": self.data_output_path,
            "study_folder": self.data_input_path,
            "time_end": datetime_to_list(self.data_date_end + datetime.timedelta(days=1)),
            "time_start": datetime_to_list(self.data_date_start),
        }
        if self.forest_tree == ForestTree.jasmine:
            other_params["all_BV_set"] = self.get_all_bv_set_dict()
            other_params["all_memory_dict"] = self.get_all_memory_dict_dict()
        return {**self.forest_param.params_for_tree(self.forest_tree), **other_params}
def params_dict ( self ) : other_params = { "output_folder" : self . data_output_path , "study_folder" : self . data_input_path , "time_end" : datetime_to_list ( self . data_date_end + datetime . timedelta ( days = 1 ) ) , "time_start" : datetime_to_list ( self . data_date_start ) , } if self . forest_tree == ForestTree . jasmine : other_params [ "all_BV_set" ] = self . get_all_bv_set_dict ( ) other_params [ "all_memory_dict" ] = self . get_all_memory_dict_dict ( ) return { ** self . forest_param . params_for_tree ( self . forest_tree ) , ** other_params }
Return a dict of params to pass into the Forest function.
Return a dict of params to pass into the Forest function .
"""
        Return a dict of params to pass into the Forest function.
        """ # Need to add a day since this model tracks time end inclusively, but Forest expects # it exclusively
self