From 0066d7bfd0241e1fb666aec0beb667502a36e31c Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Tue, 25 Jul 2023 17:08:14 +0100 Subject: [PATCH] Add missing id_ argument --- data_safe_haven/pulumi/dynamic/remote_powershell.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data_safe_haven/pulumi/dynamic/remote_powershell.py b/data_safe_haven/pulumi/dynamic/remote_powershell.py index 3e3aa0e210..48e6f2d2ed 100644 --- a/data_safe_haven/pulumi/dynamic/remote_powershell.py +++ b/data_safe_haven/pulumi/dynamic/remote_powershell.py @@ -55,10 +55,13 @@ def delete(self, id_: str, props: dict[str, Any]) -> None: def diff( self, + id_: str, old_props: dict[str, Any], new_props: dict[str, Any], ) -> DiffResult: """Calculate diff between old and new state""" + # Use `id` as a no-op to avoid ARG002 while maintaining function signature + id(id_) if new_props["force_refresh"]: return DiffResult( changes=True,