microsoft / maro

Multi-Agent Resource Optimization (MARO) platform is an instance of Reinforcement Learning as a Service (RaaS) for real-world resource optimization problems.

Home Page:https://maro.readthedocs.io/en/latest/

Repository from Github https://github.commicrosoft/maroRepository from Github https://github.commicrosoft/maro

💡 remove proxy.get_peers

kaiqli opened this issue · comments

Summary

To remove the function proxy.get_peers, and use proxy.peers to replace it.

Motivation

To support dynamic onboard peers.

Description

The proxy.peers is a function which decorated by property, and it references the class attribute (proxy.onboard_peers_dict).

In some customer-defined function or class, use proxy.peers to get the latest onboard peers dict.

In conditional event class, use proxy.peers to replace the proxy.get_peers.