bridge.pipelines.gh2bt_for_meta.main module#
Implements the GitHub→bio.tools metadata pipeline: derives a BiotoolsToolModel from a GitHubRepoModel.
- class bridge.pipelines.gh2bt_for_meta.main.GitHubToBiotoolsForMetaPipelineArgs(**data)[source]#
Bases:
PipelineArgsPipeline argument model for the GitHub to bio.tools for metadata pipeline.
- Parameters:
repo_model (GitHubRepoModel) – The source GitHub repository model.
repo_path (str) – The local path to the cloned GitHub repository.
existing_metadata (BiotoolsToolModel | None) – Existing bio.tools metadata model, if available. Default is None.
-
repo_model:
GitHubRepoModel#
-
repo_path:
str#
- async bridge.pipelines.gh2bt_for_meta.main.run(args)[source]#
Run the pipeline to extract bio.tools metadata from a GitHub repository.
- Parameters:
args (GitHubToBiotoolsForMetaPipelineArgs) – The pipeline arguments containing the GitHub repository model and existing bio.tools metadata.
- Returns:
The extracted or updated bio.tools metadata model.
- Return type:
BiotoolsToolModel