From 71e6c2a59e075598d1eae293ad52f9ac0e34fb61 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Fri, 17 Feb 2023 11:05:07 +0100 Subject: [PATCH] Revert "repossitory_url doesn't seem accepted by API" This reverts commit 067d5c20d90cf9449e6428058aff77cfcb68c995. --- pytransifex/api.py | 3 ++- pytransifex/interfaces.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pytransifex/api.py b/pytransifex/api.py index 2997533..aaba840 100644 --- a/pytransifex/api.py +++ b/pytransifex/api.py @@ -52,7 +52,8 @@ def create_project( project_name: str | None = None, source_language_code: str = "en_GB", private: bool = False, - **kwargs, + *args, # absorbing extra args + **kwargs, # absorbing extra kwargs ) -> None | Resource: """Create a project.""" source_language = tx_api.Language.get(code=source_language_code) diff --git a/pytransifex/interfaces.py b/pytransifex/interfaces.py index ba91b6a..8268dd3 100644 --- a/pytransifex/interfaces.py +++ b/pytransifex/interfaces.py @@ -16,6 +16,7 @@ def create_project( source_language_code: str = "en-gb", outsource_project_name: str | None = None, private: bool = False, + repository_url: str | None = None, ): raise NotImplementedError