Module ogr.services.pagure.label

Classes

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

Represents labels on PRs and issues.

Expand source code
class PagureIssueLabel(PagureLabel, IssueLabel):
    pass

Ancestors

Inherited members

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

Represents labels on PRs and issues.

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

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

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

Ancestors

Subclasses

Inherited members

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

Represents labels on PRs and issues.

Expand source code
class PagurePRLabel(PagureLabel, PRLabel):
    pass

Ancestors

Inherited members