Skip to content

Commit 262cbee

Browse files
committed
fix project name creation
1 parent a93f450 commit 262cbee

File tree

3 files changed

+91
-19
lines changed

3 files changed

+91
-19
lines changed

parea/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ class Parea:
7575
def __attrs_post_init__(self):
7676
self._client.set_api_key(self.api_key)
7777
parea_logger.set_client(self._client)
78+
if not self._project:
79+
self._get_project_uuid()
7880

7981
if not self.api_key:
8082
logger.warning("No API key found. Parea client will not be able to send data to the Parea API.")

poetry.lock

Lines changed: 87 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
66
[tool.poetry]
77
name = "parea-ai"
88
packages = [{ include = "parea" }]
9-
version = "0.2.216"
9+
version = "0.2.217"
1010
description = "Parea python sdk"
1111
readme = "README.md"
1212
authors = ["joel-parea-ai <joel@parea.ai>"]
@@ -49,6 +49,7 @@ tenacity = "*"
4949
orjson = "^3.10.14"
5050

5151
[tool.poetry.group.dev.dependencies]
52+
instructor = "^1.7.2"
5253
bandit = "^1.7.1"
5354
black = { version = "^24.1.0", allow-prereleases = true }
5455
darglint = "^1.8.1"

0 commit comments

Comments
 (0)