aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/grafana/__init__.py
blob: abe66129992b9111f8d2849b817fd038c676c530 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from dataclasses import dataclass


@dataclass(frozen=True)
class MissingMembers:
    """Number of members that were missing from the Grafana team, and how many could be added."""

    count: int
    successfully_added: int


@dataclass(frozen=True)
class SyncFigures:
    """Figures related to a single sync members task run."""

    added: MissingMembers
    removed: int