nvflare.collab.api.app module

class App(obj, name: str)[source]

Bases: object

add_collab_object(name: str, obj)[source]
property backend
property client_hierarchy
property client_proxies
finalize(context: Context)[source]
find_collab_method(target_obj, method_name)[source]
find_method(target_obj, method_name)[source]
property fqn
get_children()[source]
get_collab_interface() dict[str, dict[str, list[str]]][source]
get_collab_objects()[source]
get_leaf_clients()[source]
get_prop(name: str, default=None)[source]
get_props()[source]
get_target_object_publish_interface(target_name: str)[source]
has_children()[source]
initialize(context: Context)[source]
property my_site: Proxy
new_context(caller: str, callee: str, target_group=None, set_call_ctx=True)[source]
property server_proxy
set_fqn(fqn)[source]
set_prop(name: str, value)[source]
setup(workspace: Workspace, server: Proxy, clients: list[Proxy], abort_signal)[source]
update_props(props: dict)[source]
property workspace
class ClientApp(obj, name: str = 'client')[source]

Bases: App

get_children()[source]
has_children()[source]
class ServerApp(obj, name: str = 'server')[source]

Bases: App

get_children()[source]
has_children()[source]