Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mordred'

Merges #534
Closes #534
  • Loading branch information
zhquan committed Mar 29, 2022
2 parents 77b1d6b + 4c50130 commit 8a8bb8d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions sirmordred/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,14 +542,15 @@ def get_backend_sections(cls):
def get_study_sections(cls):
# a study name could include and extra ":<param>"
# to have several backend entries with different configs
studies = ("enrich_demography", "enrich_areas_of_code", "enrich_onion", "kafka_kip",
"enrich_pull_requests", "enrich_git_branches", "enrich_cocom_analysis",
"enrich_colic_analysis", "enrich_geolocation", "enrich_forecast_activity",
"enrich_extra_data", "enrich_feelings", "enrich_backlog_analysis",
"enrich_duration_analysis", "enrich_demography_contribution",
"enrich_reference_analysis")

return studies
studies = []

connectors = get_connectors()
for _, backends in connectors.items():
enrich_backend = backends[2]()
for study in enrich_backend.studies:
studies.append(study.__name__)

return tuple(set(studies))

def get_active_data_sources(self):
data_sources = []
Expand Down

0 comments on commit 8a8bb8d

Please sign in to comment.