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)
| 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| |
nothing calls this directly
no outgoing calls
no test coverage detected