ivcap-lambda 0.8.4__tar.gz → 0.8.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/PKG-INFO +1 -1
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/server.py +3 -1
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/pyproject.toml +1 -1
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/AUTHORS.md +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/LICENSE +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/README.md +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/__init__.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/builder.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/decorators.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/executor.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/health_handler.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/logger.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/logging.json +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/mcp.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/py.typed +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/secret.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/service_definition.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/utils.py +0 -0
- {ivcap_lambda-0.8.4 → ivcap_lambda-0.8.5}/ivcap_lambda/version.py +0 -0
|
@@ -9,6 +9,7 @@ import sys
|
|
|
9
9
|
from collections.abc import Callable
|
|
10
10
|
from logging import Logger
|
|
11
11
|
from signal import SIGTERM, signal
|
|
12
|
+
from threading import current_thread
|
|
12
13
|
from typing import Any
|
|
13
14
|
|
|
14
15
|
import uvicorn
|
|
@@ -217,7 +218,8 @@ def start_lambda_server(
|
|
|
217
218
|
def get_context():
|
|
218
219
|
jctxt = get_job_context()
|
|
219
220
|
if jctxt is None or jctxt.job_id is None:
|
|
220
|
-
|
|
221
|
+
if not current_thread().name.startswith("Otel"):
|
|
222
|
+
logger.warning("missing job context in thread")
|
|
221
223
|
return None
|
|
222
224
|
return jctxt
|
|
223
225
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|