def from_repo()

in auto_sizing/targets.py [0:0]


    def from_repo(self, target_dict: Dict, app_id: ALLOWED_APPS) -> List[Metric]:
        metric_names = target_dict["metrics"][app_id]
        Metric_list = []

        for metric in metric_names:
            Metric_list.append(ConfigLoader.get_metric(metric, app_id))

        return Metric_list