(self)
| 66 | |
| 67 | class TracingClientMiddleware(flight.ClientMiddleware): |
| 68 | def sending_headers(self): |
| 69 | print("Sending trace ID:", TraceContext.current_trace_id()) |
| 70 | return { |
| 71 | "x-tracing-id": TraceContext.current_trace_id(), |
| 72 | } |
| 73 | |
| 74 | def received_headers(self, headers): |
| 75 | if TRACE_HEADER in headers: |
nothing calls this directly
no test coverage detected