Skip to content
Snippets Groups Projects

Implement pruning mechanism for the utils script

Merged Mattia Mancini requested to merge add_prune_utils into main
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 62 return response
    63
    64 def _request_path(self, method, item, query=None, content=None):
    65 url = '/'.join((self._url, item.lstrip('/'), ''))
    66 return self._request_url(method, url, query=query, content=content)
    67
    68 def list_iter(self, item, query=None):
    69 response = self._request_path('get', item, query=query)
    70 drf_reply = DRFReply(response)
    71
    72 for r in drf_reply.results:
    73 yield r
    74
    75 while drf_reply.next_page_url is not None:
    76 drf_reply = DRFReply(self._request_url('get', drf_reply.next_page_url))
    77 for r in drf_reply.results:
  • Klaas Kliffen
  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    • aeaa49d7 - Fix using wrong method to delete files

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Mattia Mancini added 1 commit

    added 1 commit

    Compare with previous version

  • Klaas Kliffen approved this merge request

    approved this merge request

  • merged

  • Klaas Kliffen mentioned in commit 89420b4a

    mentioned in commit 89420b4a

  • Please register or sign in to reply
    Loading