nvflare.collab.api.decorators module

adjust_kwargs(func, kwargs)[source]

Adjust the kwargs and remove keys that are not supported by the func.

Parameters:
  • func – the func to be checked

  • kwargs – the kwargs to be adjusted

Returns: the adjusted kwargs

class classproperty(fget)[source]

Bases: object

final(func)[source]
get_object_final_funcs(obj)[source]
get_object_init_funcs(obj)[source]
get_object_main_funcs(obj)[source]
get_object_publish_interface(obj) PublishInterface[source]
get_param_names(func)[source]
get_param_specs(func)[source]
init(func)[source]
is_publish(func)[source]
main(func)[source]
publish(func)[source]
supports_context(func)[source]