feat: only update job metadata when flag is set (#4824)

This commit is contained in:
cthomas
2025-09-19 14:55:01 -07:00
committed by Caren Thomas
parent f760eaf394
commit 5166ab2f86
2 changed files with 5 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ async def retrieve_run(
try:
job = await server.job_manager.get_job_by_id_async(job_id=run_id, actor=actor)
if job.metadata.get("temporal") and settings.temporal_endpoint:
if job.metadata.get("lettuce") and settings.temporal_endpoint:
client = await Client.connect(
settings.temporal_endpoint,
namespace=settings.temporal_namespace,