diff --git a/swh/scheduler/backend.py b/swh/scheduler/backend.py --- a/swh/scheduler/backend.py +++ b/swh/scheduler/backend.py @@ -319,19 +319,6 @@ db=None, cur=None, ) -> List[ListedOrigin]: - """Get at most the `count` next origins that need to be visited with - the `visit_type` loader according to the given scheduling `policy`. - - This will mark the origins as scheduled in the origin_visit_stats - table, to avoid scheduling multiple visits to the same origin. - - Arguments: - visit_type: type of visits to schedule - count: number of visits to schedule - policy: the scheduling policy used to select which visits to schedule - timestamp: the mocked timestamp at which we're recording that the visits are - being scheduled (defaults to the current time) - """ if timestamp is None: timestamp = utcnow()