From 25b43deec0abfba088db101b35dc917c0d6acf0b Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Thu, 5 Mar 2026 12:39:18 -0500 Subject: [PATCH] Address unused variables issue (#16327) --- awx/main/tasks/jobs.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/awx/main/tasks/jobs.py b/awx/main/tasks/jobs.py index 15f4378d14..4bda1b0768 100644 --- a/awx/main/tasks/jobs.py +++ b/awx/main/tasks/jobs.py @@ -107,11 +107,6 @@ def populate_claims_for_workload(unified_job) -> dict: Extract JWT claims from a Controller workload for the aap_controller_automation_job scope. """ - # Related objects in the UnifiedJob model, applies to all job types - organization = getattr_dne(unified_job, 'organization') - ujt = getattr_dne(unified_job, 'unified_job_template') - instance_group = getattr_dne(unified_job, 'instance_group') - claims = { AutomationControllerJobScope.CLAIM_JOB_ID: unified_job.id, AutomationControllerJobScope.CLAIM_JOB_NAME: unified_job.name,