perceval/backends/core/gitlab.py
def merges(self, from_date=None):
        """Get the merge requests from pagination"""

        payload = {
            'state': 'all',
            'order_by': 'updated_at',
            'sort': 'asc',
            'view': 'simple',
            'per_page': PER_PAGE
        }

        if from_date:
            payload['updated_after'] = from_date.isoformat()

        return self.fetch_items(GitLabClient.MERGES, payload)
def merges(self, from_date=None):
        """Get the merge requests from pagination"""

        payload = {
            'state': 'all',
            'order_by': 'updated_at',
            'sort': 'asc',
            'view': 'simple',
            'per_page': PER_PAGE
        }

        if from_date:
            payload['updated_after'] = from_date.isoformat()

        return self.fetch_items(GitLabClient.MERGES, payload)
def merges ( self , from_date = None ) : payload = { 'state' : 'all' , 'order_by' : 'updated_at' , 'sort' : 'asc' , 'view' : 'simple' , 'per_page' : PER_PAGE } if from_date : payload [ 'updated_after' ] = from_date . isoformat ( ) return self . fetch_items ( GitLabClient . MERGES , payload )
Get the merge requests from pagination
Get the merge requests from pagination