Skip to content

Commit 13e4593

Browse files
authored
Merge pull request #1 from picahq/feat/add-project-identity-type
feat: add identity type for project
2 parents a868dce + c734f06 commit 13e4593

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pica_ai/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, secret: str, options: Optional[PicaClientOptions] = None):
3434
- server_url: Custom server URL to use instead of the default.
3535
- connectors: List of connector keys to filter by.
3636
- identity: Filter connections by specific identity ID.
37-
- identity_type: Filter connections by identity type (user, team, or organization).
37+
- identity_type: Filter connections by identity type (user, team, organization, or project).
3838
- authkit: Whether to use the AuthKit integration which enables the promptToConnectPlatform tool.
3939
"""
4040
if not secret:

pica_ai/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class PicaClientOptions(BaseModel):
1919
default=None,
2020
description="Filter connections by specific identity ID"
2121
)
22-
identity_type: Optional[Literal["user", "team", "organization"]] = Field(
22+
identity_type: Optional[Literal["user", "team", "organization", "project"]] = Field(
2323
default=None,
24-
description="Filter connections by identity type (user, team, or organization)"
24+
description="Filter connections by identity type (user, team, organization, or project)"
2525
)
2626
authkit: bool = Field(
2727
default=False,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name="pica-ai",
13-
version="0.1.0",
13+
version="1.0.0",
1414
author="Pica",
1515
author_email="[email protected]",
1616
description="Client for interacting with the Pica API",

0 commit comments

Comments
 (0)