bridge.pipelines.bt2gh_for_pr_issues.map module

bridge.pipelines.bt2gh_for_pr_issues.map module#

Mapping classes for bio.tools to GitHub.

class bridge.pipelines.bt2gh_for_pr_issues.map.MapBioTools2GitHub(repo, metadata, repo_path)[source]#

Bases: ModelsMap

Map bio.tools metadata record to GitHub

Parameters:

repo_path (str)

property map: dict[str, MapItem]#

Map bio.tools metadata property to corresponding GitHub property.

class bridge.pipelines.bt2gh_for_pr_issues.map.MapDestination(**data)[source]#

Bases: BaseModel

Set destination (issue or PR) for each mapped property.

Parameters:
  • issue (list[str]) – List of properties to be mapped to issues.

  • pr (list[str]) – List of properties to be mapped to pull requests.

issue: list[str]#
pr: list[str]#