Placement
nats.js.api.Placement dataclass
#
Bases: Base
Placement directives to consider when placing replicas of this stream
as_dict #
Return the object converted into an API-friendly dict.
Source code in nats/js/api.py
evolve #
from_response classmethod
#
Read the class instance from a server response.
Unknown fields are ignored ("open-world assumption").
Source code in nats/js/api.py
Last update: 2023-11-13