NVIDIA FLARE
2.1
Highlights
NVIDIA FLARE Overview
Quickstart
Example Applications
User Guide - Operations
Programming Guide
Programming Best Practices
Frequently Asked Questions
Contributing
API
nvflare package
Subpackages
nvflare.apis package
nvflare.app_common package
nvflare.fuel package
nvflare.ha package
nvflare.lighter package
nvflare.private package
Subpackages
Submodules
Module contents
nvflare.security package
nvflare.widgets package
Module contents
Appendix
NVIDIA FLARE
nvflare
nvflare package
nvflare.private package
nvflare.private.admin_defs module
Edit on GitHub
nvflare.private.admin_defs module
¶
class
Message
(
topic
:
str
,
body
)
[source]
¶
Bases:
object
To init a Message.
Parameters
topic
– message topic
body
– message body.
get_header
(
key
,
default
=
None
)
[source]
¶
get_ref_id
(
default
=
None
)
[source]
¶
set_header
(
key
,
value
)
[source]
¶
set_headers
(
headers
:
dict
)
[source]
¶
set_ref_id
(
msg_id
)
[source]
¶
class
MsgHeader
[source]
¶
Bases:
object
REF_MSG_ID
=
'_refMsgId'
¶
RETURN_CODE
=
'_rtnCode'
¶
class
ReturnCode
[source]
¶
Bases:
object
ERROR
=
'_error'
¶
OK
=
'_ok'
¶
error_reply
(
err
:
str
)
→
Message
[source]
¶
ok_reply
(
data
=
None
)
→
Message
[source]
¶
Read the Docs
v: 2.1
Versions
latest
2.2.1
2.1.1
2.1.0
2.1
2.0
main
dev-2.1
dev
Downloads
On Read the Docs
Project Home
Builds