FakeNatsFastProducer faststream.nats.publisher.producer.FakeNatsFastProducer # Bases: NatsFastProducer connect # connect(connection, serializer) Source code in faststream/nats/publisher/producer.py 208 209def connect(self, connection: Any, serializer: Optional["SerializerProto"]) -> None: raise NotImplementedError disconnect # disconnect() Source code in faststream/nats/publisher/producer.py 211 212def disconnect(self) -> None: raise NotImplementedError publish async # publish(cmd) Source code in faststream/nats/publisher/producer.py 214 215 216@override async def publish(self, cmd: "NatsPublishCommand") -> None: raise NotImplementedError request async # request(cmd) Source code in faststream/nats/publisher/producer.py 218 219 220@override async def request(self, cmd: "NatsPublishCommand") -> "Msg": raise NotImplementedError publish_batch async # publish_batch(cmd) Source code in faststream/nats/publisher/producer.py 222 223 224 225@override async def publish_batch(self, cmd: "NatsPublishCommand") -> None: msg = "NATS doesn't support publishing in batches." raise FeatureNotSupportedException(msg)