MCPcopy
hub / github.com/FedML-AI/FedML / get

Method get

python/fedml/core/alg_frame/params.py:21–24  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

19 self.__dict__[name] = value
20
21 def get(self, name: str):
22 if not hasattr(self, name):
23 return None
24 return getattr(self, name)
25
26 def keys(self):
27 return self.__dict__.keys()

Callers 15

server_aggregateMethod · 0.95
server_aggregateMethod · 0.95
_validate_configFunction · 0.45
assess_contributionMethod · 0.45
runMethod · 0.45
get_client_statusMethod · 0.45
get_server_statusMethod · 0.45

Calls

no outgoing calls

Tested by 4

server_aggregateMethod · 0.76
server_aggregateMethod · 0.76