Skip to content

Commit

Permalink
Merge pull request #1129 from parea-ai/fix-project-creation
Browse files Browse the repository at this point in the history
Fix project name creation
  • Loading branch information
jalexanderII authored Jan 25, 2025
2 parents a93f450 + 9abe9cd commit 300f252
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 707 deletions.
2 changes: 2 additions & 0 deletions parea/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class Parea:
def __attrs_post_init__(self):
self._client.set_api_key(self.api_key)
parea_logger.set_client(self._client)
if not self._project:
self._get_project_uuid()

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

0 comments on commit 300f252

Please sign in to comment.