Skip to content

Commit 2f11912

Browse files
Update client for API v1.0.0-beta.50
Auto-generated from devgraph@c6dc95b13c13a9dfe2adb8692a0b4cc0c6e15931 Spec URL: https://github.com/arctir/devgraph-api/tree/v1.0.0-beta.50
1 parent 994f9c6 commit 2f11912

55 files changed

Lines changed: 572 additions & 72 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

devgraph_client/api/chats/delete_chat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -14,7 +15,9 @@ def _get_kwargs(
1415
) -> dict[str, Any]:
1516
_kwargs: dict[str, Any] = {
1617
"method": "delete",
17-
"url": f"/api/v1/chats/{chat_id}",
18+
"url": "/api/v1/chats/{chat_id}".format(
19+
chat_id=quote(str(chat_id), safe=""),
20+
),
1821
}
1922

2023
return _kwargs

devgraph_client/api/chats/delete_chat_suggestion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -15,7 +16,9 @@ def _get_kwargs(
1516
) -> dict[str, Any]:
1617
_kwargs: dict[str, Any] = {
1718
"method": "delete",
18-
"url": f"/api/v1/chat/suggestions/{suggestion_id}",
19+
"url": "/api/v1/chat/suggestions/{suggestion_id}".format(
20+
suggestion_id=quote(str(suggestion_id), safe=""),
21+
),
1922
}
2023

2124
return _kwargs

devgraph_client/api/chats/get_chat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -15,7 +16,9 @@ def _get_kwargs(
1516
) -> dict[str, Any]:
1617
_kwargs: dict[str, Any] = {
1718
"method": "get",
18-
"url": f"/api/v1/chats/{chat_id}",
19+
"url": "/api/v1/chats/{chat_id}".format(
20+
chat_id=quote(str(chat_id), safe=""),
21+
),
1922
}
2023

2124
return _kwargs

devgraph_client/api/chats/get_chat_messages.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -26,7 +27,9 @@ def _get_kwargs(
2627

2728
_kwargs: dict[str, Any] = {
2829
"method": "get",
29-
"url": f"/api/v1/chats/{chat_id}/messages",
30+
"url": "/api/v1/chats/{chat_id}/messages".format(
31+
chat_id=quote(str(chat_id), safe=""),
32+
),
3033
"params": params,
3134
}
3235

devgraph_client/api/chats/post_chat_messages.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -20,7 +21,9 @@ def _get_kwargs(
2021

2122
_kwargs: dict[str, Any] = {
2223
"method": "post",
23-
"url": f"/api/v1/chats/{chat_id}/messages",
24+
"url": "/api/v1/chats/{chat_id}/messages".format(
25+
chat_id=quote(str(chat_id), safe=""),
26+
),
2427
}
2528

2629
_kwargs["json"] = []

devgraph_client/api/chats/update_chat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -20,7 +21,9 @@ def _get_kwargs(
2021

2122
_kwargs: dict[str, Any] = {
2223
"method": "put",
23-
"url": f"/api/v1/chats/{chat_id}",
24+
"url": "/api/v1/chats/{chat_id}".format(
25+
chat_id=quote(str(chat_id), safe=""),
26+
),
2427
}
2528

2629
_kwargs["json"] = body.to_dict()

devgraph_client/api/discovery/delete_configured_provider.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -15,7 +16,9 @@ def _get_kwargs(
1516
) -> dict[str, Any]:
1617
_kwargs: dict[str, Any] = {
1718
"method": "delete",
18-
"url": f"/api/v1/discovery/configured-providers/{provider_id}",
19+
"url": "/api/v1/discovery/configured-providers/{provider_id}".format(
20+
provider_id=quote(str(provider_id), safe=""),
21+
),
1922
}
2023

2124
return _kwargs

devgraph_client/api/discovery/get_configured_provider.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -16,7 +17,9 @@ def _get_kwargs(
1617
) -> dict[str, Any]:
1718
_kwargs: dict[str, Any] = {
1819
"method": "get",
19-
"url": f"/api/v1/discovery/configured-providers/{provider_id}",
20+
"url": "/api/v1/discovery/configured-providers/{provider_id}".format(
21+
provider_id=quote(str(provider_id), safe=""),
22+
),
2023
}
2124

2225
return _kwargs

devgraph_client/api/discovery/get_discovery_provider_config_schema.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -14,7 +15,9 @@ def _get_kwargs(
1415
) -> dict[str, Any]:
1516
_kwargs: dict[str, Any] = {
1617
"method": "get",
17-
"url": f"/api/v1/discovery/providers/{provider_type}/config-schema",
18+
"url": "/api/v1/discovery/providers/{provider_type}/config-schema".format(
19+
provider_type=quote(str(provider_type), safe=""),
20+
),
1821
}
1922

2023
return _kwargs

devgraph_client/api/discovery/migrate_provider_config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any, cast
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -16,7 +17,9 @@ def _get_kwargs(
1617
) -> dict[str, Any]:
1718
_kwargs: dict[str, Any] = {
1819
"method": "post",
19-
"url": f"/api/v1/discovery/versions/{provider_id}/migrate",
20+
"url": "/api/v1/discovery/versions/{provider_id}/migrate".format(
21+
provider_id=quote(str(provider_id), safe=""),
22+
),
2023
}
2124

2225
return _kwargs

0 commit comments

Comments
 (0)