File: smooth_rr.pyi

package info (click to toggle)
python-roundrobin 0.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: python: 140; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
from typing import Any, Callable, Tuple


def smooth(dataset: [Tuple[Any, int]]) -> Callable[[], Any]:
    def get_next() -> Any: ...


class ItemWeight:
    key: Any
    weight: int
    current_weight: int
    effective_weight: int