💡 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.