Module ogr.services.gitlab.label

Classes

class GitlabIssueLabel (name: str,
parent: PullRequest | Issue)

Represents labels on PRs and issues.

Expand source code
class GitlabIssueLabel(GitlabLabel, IssueLabel):
    pass

Ancestors

Inherited members

class GitlabLabel (name: str,
parent: PullRequest | Issue)

Represents labels on PRs and issues.

Expand source code
class GitlabLabel(Label):
    def __init__(self, name: str, parent: Union[PullRequest, Issue]) -> None:
        super().__init__(parent)
        self._name = name

    def __str__(self) -> str:
        return f'GitlabLabel(name="{self.name}")'

    @property
    def name(self):
        return self._name

Ancestors

Subclasses

Inherited members

class GitlabPRLabel (name: str,
parent: PullRequest | Issue)

Represents labels on PRs and issues.

Expand source code
class GitlabPRLabel(GitlabLabel, PRLabel):
    pass

Ancestors

Inherited members