module bestof.integrations.gitlabintegration
January 19, 2021 · View on GitHub
module best_of.integrations.gitlab_integration
Global Variables
- MIN_PROJECT_DESC_LENGTH
- query
- GITLAB_DEFAULT_API
class GitLabIntegration
property name
method generate_md_details
generate_md_details(project: Dict, configuration: Dict) → str
method get_api_url
get_api_url(gitlab_id: str) → Tuple[str, str]
If gitlab_id is in the format "<API_ENDPOINT>::org/repo", it returns a tuple "<API_ENDPOINT>, org/repo", otherwise it returns "<GITLAB_DEFAULT_API>, org/repo".
Args:
gitlab_id(str): A string in the format "org/repo" for GitLab projectsor "<API_ENDPOINT>: :org/repo" for GitLab API compatible endpoints.
Returns:
tuple[str, str]: API endpoint, org/repo
method update_project_info
update_project_info(project_info: Dict) → None
This file was automatically generated via lazydocs.