summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/event.py
blob: add25812bcbe19e921f699be161e0e8c6efb36f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from gitlab.base import *  # noqa
from gitlab.exceptions import *  # noqa
from gitlab.mixins import *  # noqa
from gitlab import types
from gitlab import utils


class Event(RESTObject):
    _id_attr = None
    _short_print_attr = "target_title"


class EventManager(ListMixin, RESTManager):
    _path = "/events"
    _obj_cls = Event
    _list_filters = ("action", "target_type", "before", "after", "sort")