def send(self, *args): if hasattr(self, "bser_version"): cmd = bser.dumps(*args, version=self.bser_version, capabilities=self.bser_capabilities) else: cmd = bser.dumps(*args) self.transport.write(cmd)
def send(self, *args): cmd = bser.dumps(*args) # Defaults to BSER v1 self.transport.write(cmd)