From a6d311a0f2c9fb7ef1d1ec2b0c0960bb5711b621 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Thu, 22 Apr 2021 15:08:07 +0200 Subject: [PATCH] Fix incompatible mypy type --- plugins/DigitalLibrary/src/DigitalFactoryApiClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DigitalLibrary/src/DigitalFactoryApiClient.py b/plugins/DigitalLibrary/src/DigitalFactoryApiClient.py index 20bc555831..b0e34adaba 100644 --- a/plugins/DigitalLibrary/src/DigitalFactoryApiClient.py +++ b/plugins/DigitalLibrary/src/DigitalFactoryApiClient.py @@ -294,7 +294,7 @@ class DigitalFactoryApiClient: self._file_uploader = DFFileUploader(self._http, df_file_upload_response, mesh, on_finished, on_success, on_progress, on_error) self._file_uploader.start() - def createNewProject(self, project_name: str, on_finished: Callable[[CloudApiClientModel], Any], on_error: Callable) -> None: + def createNewProject(self, project_name: str, on_finished: Callable[[DigitalFactoryProjectResponse], Any], on_error: Callable) -> None: """ Create a new project in the Digital Factory. :param project_name: Name of the new to be created project.