From 0fcb64bb3571a139e328a10788f6f60ac2059407 Mon Sep 17 00:00:00 2001 From: Patricia Reinoso Date: Mon, 3 Apr 2023 16:04:26 +0000 Subject: [PATCH] Fix parameter order in get model method. Change-Id: Ia853579f192fca3b4438f418c50a340129489be7 Signed-off-by: Patricia Reinoso --- n2vc/temporal_libjuju.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n2vc/temporal_libjuju.py b/n2vc/temporal_libjuju.py index a4b7752..c13d244 100644 --- a/n2vc/temporal_libjuju.py +++ b/n2vc/temporal_libjuju.py @@ -111,7 +111,7 @@ class Libjuju: if need_to_disconnect: await self.disconnect_controller(controller) - async def get_model(self, model_name: str, controller: Controller) -> Model: + async def get_model(self, controller: Controller, model_name: str) -> Model: return await controller.get_model(model_name) async def list_models(self) -> List[str]: -- 2.25.1