Skip to content

Lazy Load RuntimeClient#191

Closed
M-Elsaeed wants to merge 4 commits into
aws:mainfrom
M-Elsaeed:main
Closed

Lazy Load RuntimeClient#191
M-Elsaeed wants to merge 4 commits into
aws:mainfrom
M-Elsaeed:main

Conversation

@M-Elsaeed

Copy link
Copy Markdown
Contributor

Issue #, if available: -

Description of changes: Lazy Load RuntimeClient

Target (OCI, Managed Runtime, both): both

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

M-Elsaeed and others added 4 commits June 25, 2025 20:24
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.
@M-Elsaeed M-Elsaeed closed this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant