From be10aa5dd10b851b3190a1911dc779414836980a Mon Sep 17 00:00:00 2001 From: ShotgunkeeperVZ <55543338+ShotgunkeeperVZ@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:27:20 +0330 Subject: [PATCH] Fix the type hint for service reqs service requirements returns a dict not an str --- virtuals_acp/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtuals_acp/job.py b/virtuals_acp/job.py index efb94495..dd0d17e7 100644 --- a/virtuals_acp/job.py +++ b/virtuals_acp/job.py @@ -38,7 +38,7 @@ def __str__(self): ) @property - def service_requirement(self) -> Optional[str]: + def service_requirement(self) -> Optional[Dict[str,Any]]: """Get the service requirement from the negotiation memo""" memo = next( (m for m in self.memos if ACPJobPhase(m.next_phase) == ACPJobPhase.NEGOTIATION),