MCPcopy Index your code
hub / github.com/FedML-AI/FedML / get_instance

Method get_instance

python/fedml/core/mlops/mlops_status.py:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16 @staticmethod
17 def get_instance():
18 if MLOpsStatus._status_instance is None:
19 MLOpsStatus._status_instance = MLOpsStatus()
20
21 return MLOpsStatus._status_instance
22
23 def set_client_agent_status(self, edge_id, status):
24 self.client_agent_status[edge_id] = status

Calls 1

MLOpsStatusClass · 0.85