MCPcopy Create free account
hub / github.com/devoxin/Lavalink.py / set_request_tracebacks

Method set_request_tracebacks

lavalink/node.py:130–140  ·  view source on GitHub ↗

Enables or disables request tracebacks for this node. When enabled, this will return any error traces in responses if an error occurs. This **can** have an impact on overall performance, so is best left disabled unless you need it. Parameters ---------- enab

(self, enabled: bool)

Source from the content-addressed store, hash-verified

128 return self.stats.penalty.total
129
130 def set_request_tracebacks(self, enabled: bool):
131 """
132 Enables or disables request tracebacks for this node. When enabled, this will return any error traces in responses if an error occurs.
133 This **can** have an impact on overall performance, so is best left disabled unless you need it.
134
135 Parameters
136 ----------
137 enabled: :class:`bool`
138 Whether to enable request tracebacks for this node.
139 """
140 self._transport.trace_requests = enabled
141
142 async def get_rest_latency(self) -> float:
143 """|coro|

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected