Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGustin committed Dec 17, 2024
1 parent 7c036de commit 1610ba7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arcade/arcade/core/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ToolAuthorization(BaseModel):
model_config = ConfigDict(frozen=True)

provider_id: str
"""The unique provider kind configured in Arcade."""
"""The provider ID configured in Arcade."""

provider_type: AuthProviderType
"""The type of the authorization provider."""
Expand Down
2 changes: 1 addition & 1 deletion arcade/arcade/core/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ToolAuthRequirement(BaseModel):
# The Arcade SDK translates these into the appropriate provider kind and type.
# The only time the developer will set these is if they are using a custom auth provider.
provider_id: Optional[str] = None
"""A unique provider kind"""
"""The provider ID."""

provider_type: str
"""The provider type."""
Expand Down
4 changes: 2 additions & 2 deletions schemas/preview/tool_definition.schema.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@
"properties": {
"provider_id": {
"type": "string",
"description": "A unique provider kind."
"description": "The provider ID."
},
"provider_type": {
"type": "string",
"description": "The provider type."
},
"id": {
"type": "string",
"description": "Optional unique identifier to distinguish between multiple providers of the same kind."
"description": "Optional unique identifier to distinguish between multiple providers with the same provider_id."
},
"oauth2": {
"type": "object",
Expand Down

0 comments on commit 1610ba7

Please sign in to comment.