ExternalStream
nats.js.api.ExternalStream dataclass #
ExternalStream(api: str, deliver: Optional[str] = None)
Bases: Base
as_dict #
as_dict() -> Dict[str, object]
Source code in nats/js/api.py
225 226 227 | |
from_response classmethod #
from_response(resp: Dict[str, Any]) -> _B
Read the class instance from a server response.
Unknown fields are ignored ("open-world assumption").
Source code in nats/js/api.py
145 146 147 148 149 150 151 152 153 154 155 | |
evolve #
evolve(**params) -> _B
Return a copy of the instance with the passed values replaced.
Source code in nats/js/api.py
157 158 159 | |