Configuration object for phase2 server.
Definition at line 27 of file phase2_contribution_handler.py.
◆ __init__()
def coordinator.phase2_contribution_handler.Phase2ServerConfig.__init__ |
( |
|
self, |
|
|
Configuration |
server_configuration, |
|
|
Optional[str] |
mpc_tool |
|
) |
| |
Definition at line 32 of file phase2_contribution_handler.py.
34 server_configuration: Configuration,
35 mpc_tool: Optional[str]):
36 self.server_configuration = server_configuration
37 self.mpc_tool = mpc_tool
◆ from_json()
Phase2ServerConfig coordinator.phase2_contribution_handler.Phase2ServerConfig.from_json |
( |
str |
phase2_config_json, |
|
|
Optional[str] |
config_path = None |
|
) |
| |
|
static |
Definition at line 43 of file phase2_contribution_handler.py.
44 phase2_config_json: str,
45 config_path: Optional[str] =
None) -> Phase2ServerConfig:
46 return Phase2ServerConfig._from_json_dict(
47 json.loads(phase2_config_json), config_path)
◆ to_json()
str coordinator.phase2_contribution_handler.Phase2ServerConfig.to_json |
( |
|
self | ) |
|
◆ mpc_tool
coordinator.phase2_contribution_handler.Phase2ServerConfig.mpc_tool |
◆ server_configuration
coordinator.phase2_contribution_handler.Phase2ServerConfig.server_configuration |
The documentation for this class was generated from the following file: