(paramsExpr: string)
| 3538 | |
| 3539 | // Build request body with proper serialization/deserialization |
| 3540 | const emitRequestCall = (paramsExpr: string) => { |
| 3541 | const callExpr = `await self._client.request("${method.rpcMethod}", ${paramsExpr}, **_timeout_kwargs(timeout))`; |
| 3542 | if (hasResult || hasNullableResult) { |
| 3543 | if (hasNullableResult) { |
| 3544 | lines.push(` _result = ${callExpr}`); |
| 3545 | lines.push(` return ${deserialize("_result")}`); |
| 3546 | } else { |
| 3547 | lines.push(` return ${deserialize(callExpr)}`); |
| 3548 | } |
| 3549 | } else { |
| 3550 | lines.push(` ${callExpr}`); |
| 3551 | } |
| 3552 | }; |
| 3553 | |
| 3554 | if (isSession) { |
| 3555 | if (hasParams) { |
no test coverage detected
searching dependent graphs…