code: def create_indicator(self, project, is_valid, metrics_list):
          
          project = Project.objects.get(pronac=project)
          indicator, _ = (FinancialIndicator
                          .objects.update_or_create(project=project))
          indicator.is_valid = is_valid
          if indicator.is_valid:
              p_metrics = metrics_calc.get_project(project.pronac)
              for metric_name in metrics_list:
                  print("calculando a metrica  ", metric_name)
                  x = getattr(p_metrics.finance, metric_name)
                  print("do projeto: ", project)
                  Metric.objects.create_metric(metric_name, x, indicator)
              indicator.fetch_weighted_complexity()
          return indicator
docs: Creates FinancialIndicator object for a project, calculating
          metrics and indicator value