Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lint: ## Lint project.
.PHONY: format
format: ## Format project.
@uv run ruff format
@uv run mdformat .
@uv run mdformat .github *.md

.PHONY: fix
fix: ## Fix project.
Expand All @@ -42,7 +42,7 @@ check: check/format check/lint check/types check/spell ## Run all checks.
.PHONY: check/format
check/format:
@uv run ruff format --check
@uv run mdformat --check .github griptape_cloud_client *.md
@uv run mdformat --check .github *.md

.PHONY: check/lint
check/lint:
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/api_keys/create_api_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/users/{user_id}/api-keys",
"url": f"/api/users/{user_id}/api-keys",
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/organizations/{organization_id}/api-keys",
"url": f"/api/organizations/{organization_id}/api-keys",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/api_keys/delete_api_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/api-keys/{api_key_id}",
"url": f"/api/api-keys/{api_key_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/api_keys/get_api_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/api-keys/{api_key_id}",
"url": f"/api/api-keys/{api_key_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/api_keys/list_api_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/users/{user_id}/api-keys",
"url": f"/api/users/{user_id}/api-keys",
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/organizations/{organization_id}/api-keys",
"url": f"/api/organizations/{organization_id}/api-keys",
"params": params,
}

Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/api_keys/update_api_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "patch",
"url": f"/api-keys/{api_key_id}",
"url": f"/api/api-keys/{api_key_id}",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assets/create_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "put",
"url": f"/buckets/{bucket_id}/assets",
"url": f"/api/buckets/{bucket_id}/assets",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assets/create_asset_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/buckets/{bucket_id}/asset-urls/{name}",
"url": f"/api/buckets/{bucket_id}/asset-urls/{name}",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assets/delete_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/buckets/{bucket_id}/assets/{name}",
"url": f"/api/buckets/{bucket_id}/assets/{name}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assets/get_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/buckets/{bucket_id}/assets/{name}",
"url": f"/api/buckets/{bucket_id}/assets/{name}",
"params": params,
}

Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assets/list_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/buckets/{bucket_id}/assets",
"url": f"/api/buckets/{bucket_id}/assets",
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/assistant-runs/{assistant_run_id}/cancel",
"url": f"/api/assistant-runs/{assistant_run_id}/cancel",
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/assistants/{assistant_id}/runs",
"url": f"/api/assistants/{assistant_id}/runs",
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/assistant-runs/{assistant_run_id}",
"url": f"/api/assistant-runs/{assistant_run_id}",
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/assistants/{assistant_id}/runs",
"url": f"/api/assistants/{assistant_id}/runs",
"params": params,
}

Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assistants/create_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/assistants",
"url": "/api/assistants",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assistants/delete_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/assistants/{assistant_id}",
"url": f"/api/assistants/{assistant_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assistants/get_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/assistants/{assistant_id}",
"url": f"/api/assistants/{assistant_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assistants/list_assistants.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": "/assistants",
"url": "/api/assistants",
"params": params,
}

Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/assistants/update_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "patch",
"url": f"/assistants/{assistant_id}",
"url": f"/api/assistants/{assistant_id}",
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def _get_kwargs() -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "post",
"url": "/billing/management-url",
"url": "/api/billing/management-url",
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/billing/checkout-session",
"url": "/api/billing/checkout-session",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/buckets/create_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/buckets",
"url": "/api/buckets",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/buckets/delete_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/buckets/{bucket_id}",
"url": f"/api/buckets/{bucket_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/buckets/get_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/buckets/{bucket_id}",
"url": f"/api/buckets/{bucket_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/buckets/list_buckets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": "/buckets",
"url": "/api/buckets",
"params": params,
}

Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/buckets/update_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "patch",
"url": f"/buckets/{bucket_id}",
"url": f"/api/buckets/{bucket_id}",
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/chat/messages",
"url": "/api/chat/messages",
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/chat/messages/stream",
"url": "/api/chat/messages/stream",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/configs/get_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def _get_kwargs() -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": "/config",
"url": "/api/config",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/connections/create_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/connections",
"url": "/api/connections",
}

_kwargs["json"] = body.to_dict()
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/connections/delete_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/connections/{connection_id}",
"url": f"/api/connections/{connection_id}",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/connections/get_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/connections/{connection_id}/access-token",
"url": f"/api/connections/{connection_id}/access-token",
}

return _kwargs
Expand Down
2 changes: 1 addition & 1 deletion griptape_cloud_client/api/connections/list_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": "/connections",
"url": "/api/connections",
"params": params,
}

Expand Down
Loading
Loading