# retoor <retoor@molodetz.nl>

_client = None


def get_client():
    if _client is not None:
        return _client
    from devplacepy.services.gitea.client import GiteaClient

    return GiteaClient()


def set_client(client) -> None:
    global _client
    _client = client
