Interface with the node secure aggregation element database
Attributes
Classes
SecaggManager
SecaggManager(db, element)
Wrapper class for returning any type of node secagg element database manager
Source code in fedbiomed/node/secagg_manager.py
def __init__(self, db: str, element: int):
"""Constructor of the class
"""
self._db = db
self._element = element
Attributes
element2class class-attribute
instance-attribute
element2class = {name: SecaggServkeyManager, name: SecaggDhManager}