From 70ce177e543d14803ad7c4c228707689e799a722 Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Wed, 27 Aug 2025 11:49:32 +0200 Subject: [PATCH 1/3] Create `Project` object local instead of call API after create project --- roboflow/core/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roboflow/core/workspace.py b/roboflow/core/workspace.py index c8225ac5..09633200 100644 --- a/roboflow/core/workspace.py +++ b/roboflow/core/workspace.py @@ -123,7 +123,7 @@ def create_project(self, project_name, project_type, project_license, annotation if "error" in r.json().keys(): raise RuntimeError(r.json()["error"]) - return self.project(r.json()["id"].split("/")[-1]) + return Project(self.__api_key, r.json(), self.model_format) def clip_compare(self, dir: str = "", image_ext: str = ".png", target_image: str = "") -> List[dict]: """ From d4e338e216b5dd3a96c8d3697370c17a4b80ea4d Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Wed, 27 Aug 2025 12:13:07 +0200 Subject: [PATCH 2/3] fixup! Create `Project` object local instead of call API after create project --- roboflow/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roboflow/__init__.py b/roboflow/__init__.py index 424d25d1..9e6996cd 100644 --- a/roboflow/__init__.py +++ b/roboflow/__init__.py @@ -15,7 +15,7 @@ from roboflow.models import CLIPModel, GazeModel # noqa: F401 from roboflow.util.general import write_line -__version__ = "1.2.6" +__version__ = "1.2.7" def check_key(api_key, model, notebook, num_retries=0): From 67a697e568fe796af93500a39c57039e83201e3e Mon Sep 17 00:00:00 2001 From: Rodrigo Barbosa Date: Wed, 27 Aug 2025 12:02:44 +0000 Subject: [PATCH 3/3] updating docs to tell user to use Private with big P. --- roboflow/core/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roboflow/core/workspace.py b/roboflow/core/workspace.py index 09633200..ec73e910 100644 --- a/roboflow/core/workspace.py +++ b/roboflow/core/workspace.py @@ -103,7 +103,7 @@ def create_project(self, project_name, project_type, project_license, annotation Args: project_name (str): name of the project project_type (str): type of the project - project_license (str): license of the project (set to `private` for private projects, only available for paid customers) + project_license (str): license of the project (set to `Private` for private projects, only available for paid customers) annotation (str): annotation of the project Returns: