When creating new workers via the .start_worker() method of a cluster instance it is possible to supply the worker_port argument to pin down which port is used by that worker.
However, the nanny_port argument is not supported by this method and only accessible when launching workers via the CLI.
When creating new workers via the
.start_worker()method of a cluster instance it is possible to supply theworker_portargument to pin down which port is used by that worker.However, the
nanny_portargument is not supported by this method and only accessible when launching workers via the CLI.