Add comments for moving functionality

This commit is contained in:
erik 2023-08-11 15:29:07 +02:00
parent f4be6e0c8b
commit db8b41be19
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
from ..infrastructure import GitApi, ArtifactDeploymentApi from ..infrastructure import GitApi, ArtifactDeploymentApi
from ..domain import Credentials from ..domain import Credentials
# This will be moved to release mixin
class ArtifactDeploymentService: class ArtifactDeploymentService:
def __init__(self, git_api: GitApi, artifact_deployment_api: ArtifactDeploymentApi): def __init__(self, git_api: GitApi, artifact_deployment_api: ArtifactDeploymentApi):
self.git_api = git_api self.git_api = git_api

View file

@ -51,7 +51,7 @@ from .domain import MixinType
# """ # """
# This will be moved to release mixin
class ArtifactDeploymentMixin(DevopsBuild): class ArtifactDeploymentMixin(DevopsBuild):
def __init__(self, project: Project, inp: dict): def __init__(self, project: Project, inp: dict):
super().__init__(project, inp) super().__init__(project, inp)

View file

@ -6,7 +6,7 @@ from .common import (
Devops, Devops,
) )
# This will be moved to release mixin
class ArtifactDeployment(Validateable, CredentialMappingDefault): class ArtifactDeployment(Validateable, CredentialMappingDefault):
def __init__(self, inp: dict): def __init__(self, inp: dict):
self.name = inp.get("name") self.name = inp.get("name")