From 52c4881d572bbae718c5108500220dc0636b8abb Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Fri, 17 Feb 2023 10:24:46 +0100 Subject: [PATCH] pass extra args to create project (#16) this fixes the missing repository_url (see https://github.com/opengisch/pytransifex/blob/0.1.11/pytransifex/api.py#L57) --- pytransifex/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytransifex/api.py b/pytransifex/api.py index aaba840..1fb9aed 100644 --- a/pytransifex/api.py +++ b/pytransifex/api.py @@ -52,8 +52,7 @@ def create_project( project_name: str | None = None, source_language_code: str = "en_GB", private: bool = False, - *args, # absorbing extra args - **kwargs, # absorbing extra kwargs + **kwargs, ) -> None | Resource: """Create a project.""" source_language = tx_api.Language.get(code=source_language_code) @@ -65,6 +64,7 @@ def create_project( source_language=source_language, private=private, organization=self.organization, + **kwargs, ) logging.info("Project created!") return res