RoundRobinStrategy.__init__#

RoundRobinStrategy.__init__(sort_fn=None)[source]

Initializes the RoundRobin placement strategy.

Parameters:
  • sort_fn (Callable[[Any], Any] | None, optional) – A function to sort the

  • None. (infrastructure nodes. Defaults to)