Commit e0798f4
Mohammed Ehab
Fix lazy load: remove broken RuntimeClient reconstruction in run()
The previous change referenced undefined names (lambda_runtime_api_addr,
use_thread_for_polling_next) inside run(), causing a NameError at init and
failing all runtime tests. run() already receives a fully constructed
lambda_runtime_client argument, so reconstruction is unnecessary and would
also clobber the LambdaMultiConcurrentRuntimeClient in the multi-concurrent
path. Removing those lines achieves the lazy-load goal (no module-level
LambdaRuntimeClient import) and fixes the black formatting failure.1 parent 2a7012c commit e0798f4
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
507 | | - | |
508 | 506 | | |
509 | 507 | | |
510 | 508 | | |
| |||
0 commit comments