(content, chunks)
| 5168 | capture_body = source_body or body |
| 5169 | |
| 5170 | def _capture_for_record(content, chunks): |
| 5171 | if content is not None: |
| 5172 | return _capture_non_streaming(capture_body, content, transport_for_capture) |
| 5173 | if chunks is not None: |
| 5174 | return _capture_streaming(capture_body, chunks, transport_for_capture) |
| 5175 | return {} |
| 5176 | |
| 5177 | _traces.record(RequestTrace( |
| 5178 | timestamp=timestamp_value, |
no test coverage detected