from dataclasses import dataclass
from github import CommitStatus


@dataclass
class DisplayableStatus:
    status: CommitStatus

    @property
    def success(self):
        return self.status.state == 'success'

280a32163c5c4f4f452b7dc838748f65810dcd8f
<mask token>

<mask token>


@dataclass
class DisplayableStatus:
    status: CommitStatus
    <mask token>

<mask token>


@dataclass
class DisplayableStatus:
    status: CommitStatus

    @property
    def success(self):
        return self.status.state == 'success'

from dataclasses import dataclass
from github import CommitStatus


@dataclass
class DisplayableStatus:
    status: CommitStatus

    @property
    def success(self):
        return self.status.state == 'success'
