19 lines
422 B
Python
19 lines
422 B
Python
from gitlab.base import RESTManager, RESTObject
|
|
from gitlab.mixins import ListMixin
|
|
|
|
__all__ = [
|
|
"ProjectMergeTrain",
|
|
"ProjectMergeTrainManager",
|
|
]
|
|
|
|
|
|
class ProjectMergeTrain(RESTObject):
|
|
pass
|
|
|
|
|
|
class ProjectMergeTrainManager(ListMixin, RESTManager):
|
|
_path = "/projects/{project_id}/merge_trains"
|
|
_obj_cls = ProjectMergeTrain
|
|
_from_parent_attrs = {"project_id": "id"}
|
|
_list_filters = ("scope",)
|