From 21e941cce001eaf975a9419f63b77e781d2ee815 Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 2 Mar 2023 16:26:52 +0100 Subject: [PATCH] Import GitApi from correct module --- release_mixin.py | 3 ++- services.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/release_mixin.py b/release_mixin.py index f35725c..c488f51 100644 --- a/release_mixin.py +++ b/release_mixin.py @@ -2,7 +2,8 @@ import copy from ddadevops import DevopsBuild from ddadevops import execute from ddadevops import gopass_field_from_path, gopass_password_from_path -from infrastructure import GitApi, ReleaseRepository, ReleaseTypeRepository, VersionRepository +from infrastructure import ReleaseRepository, ReleaseTypeRepository, VersionRepository +from infrastructure_api import GitApi from services import PrepareReleaseService, TagAndPushReleaseService def create_release_mixin_config(config_file, main_branch) -> dict: diff --git a/services.py b/services.py index dd55cec..76125a7 100644 --- a/services.py +++ b/services.py @@ -1,4 +1,5 @@ -from infrastructure import ReleaseRepository, GitApi +from infrastructure import ReleaseRepository +from infrastructure_api import GitApi from domain import Version, Release class PrepareReleaseService():