robosystems-client 0.2.23__py3-none-any.whl → 0.2.25__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +4 -1
  2. robosystems_client/api/agent/batch_process_queries.py +4 -1
  3. robosystems_client/api/agent/execute_specific_agent.py +5 -1
  4. robosystems_client/api/agent/get_agent_metadata.py +5 -1
  5. robosystems_client/api/agent/list_agents.py +4 -1
  6. robosystems_client/api/agent/recommend_agent.py +4 -1
  7. robosystems_client/api/backup/create_backup.py +4 -1
  8. robosystems_client/api/backup/get_backup_download_url.py +5 -1
  9. robosystems_client/api/backup/get_backup_stats.py +4 -1
  10. robosystems_client/api/backup/list_backups.py +4 -1
  11. robosystems_client/api/backup/restore_backup.py +5 -1
  12. robosystems_client/api/billing/cancel_org_subscription.py +5 -1
  13. robosystems_client/api/billing/create_portal_session.py +4 -1
  14. robosystems_client/api/billing/get_checkout_status.py +4 -1
  15. robosystems_client/api/billing/get_org_billing_customer.py +4 -1
  16. robosystems_client/api/billing/get_org_subscription.py +5 -1
  17. robosystems_client/api/billing/get_org_upcoming_invoice.py +4 -1
  18. robosystems_client/api/billing/list_org_invoices.py +4 -1
  19. robosystems_client/api/billing/list_org_subscriptions.py +4 -1
  20. robosystems_client/api/connections/create_connection.py +4 -1
  21. robosystems_client/api/connections/create_link_token.py +4 -1
  22. robosystems_client/api/connections/delete_connection.py +5 -1
  23. robosystems_client/api/connections/exchange_link_token.py +4 -1
  24. robosystems_client/api/connections/get_connection.py +5 -1
  25. robosystems_client/api/connections/get_connection_options.py +4 -1
  26. robosystems_client/api/connections/init_o_auth.py +4 -1
  27. robosystems_client/api/connections/list_connections.py +4 -1
  28. robosystems_client/api/connections/oauth_callback.py +5 -1
  29. robosystems_client/api/connections/sync_connection.py +5 -1
  30. robosystems_client/api/credits_/check_credit_balance.py +4 -1
  31. robosystems_client/api/credits_/check_storage_limits.py +4 -1
  32. robosystems_client/api/credits_/get_credit_summary.py +4 -1
  33. robosystems_client/api/credits_/get_storage_usage.py +4 -1
  34. robosystems_client/api/credits_/list_credit_transactions.py +4 -1
  35. robosystems_client/api/files/create_file_upload.py +4 -1
  36. robosystems_client/api/files/delete_file.py +5 -1
  37. robosystems_client/api/files/get_file.py +5 -1
  38. robosystems_client/api/files/list_files.py +4 -1
  39. robosystems_client/api/files/update_file.py +5 -1
  40. robosystems_client/api/graph_health/get_database_health.py +4 -1
  41. robosystems_client/api/graph_info/get_database_info.py +4 -1
  42. robosystems_client/api/graph_limits/get_graph_limits.py +4 -1
  43. robosystems_client/api/graphs/select_graph.py +4 -1
  44. robosystems_client/api/materialize/get_materialization_status.py +4 -1
  45. robosystems_client/api/materialize/materialize_graph.py +4 -1
  46. robosystems_client/api/mcp/call_mcp_tool.py +4 -1
  47. robosystems_client/api/mcp/list_mcp_tools.py +4 -1
  48. robosystems_client/api/operations/cancel_operation.py +4 -1
  49. robosystems_client/api/operations/get_operation_status.py +4 -1
  50. robosystems_client/api/operations/stream_operation_events.py +4 -1
  51. robosystems_client/api/org/get_org.py +4 -1
  52. robosystems_client/api/org/list_org_graphs.py +4 -1
  53. robosystems_client/api/org/update_org.py +4 -1
  54. robosystems_client/api/org_members/invite_org_member.py +4 -1
  55. robosystems_client/api/org_members/list_org_members.py +4 -1
  56. robosystems_client/api/org_members/remove_org_member.py +5 -1
  57. robosystems_client/api/org_members/update_org_member_role.py +5 -1
  58. robosystems_client/api/org_usage/get_org_limits.py +4 -1
  59. robosystems_client/api/org_usage/get_org_usage.py +4 -1
  60. robosystems_client/api/query/execute_cypher_query.py +4 -1
  61. robosystems_client/api/schema/export_graph_schema.py +4 -1
  62. robosystems_client/api/schema/get_graph_schema.py +4 -1
  63. robosystems_client/api/schema/validate_schema.py +4 -1
  64. robosystems_client/api/subgraphs/create_subgraph.py +4 -1
  65. robosystems_client/api/subgraphs/delete_subgraph.py +5 -1
  66. robosystems_client/api/subgraphs/get_subgraph_info.py +5 -1
  67. robosystems_client/api/subgraphs/get_subgraph_quota.py +4 -1
  68. robosystems_client/api/subgraphs/list_subgraphs.py +4 -1
  69. robosystems_client/api/subscriptions/create_repository_subscription.py +4 -1
  70. robosystems_client/api/subscriptions/get_graph_subscription.py +4 -1
  71. robosystems_client/api/subscriptions/upgrade_subscription.py +4 -1
  72. robosystems_client/api/tables/list_tables.py +4 -1
  73. robosystems_client/api/tables/query_tables.py +4 -1
  74. robosystems_client/api/usage/get_graph_metrics.py +4 -1
  75. robosystems_client/api/usage/get_graph_usage_analytics.py +4 -1
  76. robosystems_client/api/user/revoke_user_api_key.py +4 -1
  77. robosystems_client/api/user/update_user_api_key.py +4 -1
  78. robosystems_client/api/views/create_view.py +4 -1
  79. robosystems_client/api/views/save_view.py +4 -1
  80. robosystems_client/extensions/graph_client.py +163 -3
  81. robosystems_client/extensions/query_client.py +17 -0
  82. robosystems_client/models/token_pricing.py +4 -4
  83. {robosystems_client-0.2.23.dist-info → robosystems_client-0.2.25.dist-info}/METADATA +14 -13
  84. {robosystems_client-0.2.23.dist-info → robosystems_client-0.2.25.dist-info}/RECORD +86 -86
  85. {robosystems_client-0.2.23.dist-info → robosystems_client-0.2.25.dist-info}/WHEEL +0 -0
  86. {robosystems_client-0.2.23.dist-info → robosystems_client-0.2.25.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -36,7 +37,9 @@ def _get_kwargs(
36
37
 
37
38
  _kwargs: dict[str, Any] = {
38
39
  "method": "post",
39
- "url": f"/v1/graphs/{graph_id}/agent",
40
+ "url": "/v1/graphs/{graph_id}/agent".format(
41
+ graph_id=quote(str(graph_id), safe=""),
42
+ ),
40
43
  "params": params,
41
44
  }
42
45
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/agent/batch",
24
+ "url": "/v1/graphs/{graph_id}/agent/batch".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -37,7 +38,10 @@ def _get_kwargs(
37
38
 
38
39
  _kwargs: dict[str, Any] = {
39
40
  "method": "post",
40
- "url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
41
+ "url": "/v1/graphs/{graph_id}/agent/{agent_type}".format(
42
+ graph_id=quote(str(graph_id), safe=""),
43
+ agent_type=quote(str(agent_type), safe=""),
44
+ ),
41
45
  "params": params,
42
46
  }
43
47
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,10 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "get",
19
- "url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
20
+ "url": "/v1/graphs/{graph_id}/agent/{agent_type}".format(
21
+ graph_id=quote(str(graph_id), safe=""),
22
+ agent_type=quote(str(agent_type), safe=""),
23
+ ),
20
24
  }
21
25
 
22
26
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -28,7 +29,9 @@ def _get_kwargs(
28
29
 
29
30
  _kwargs: dict[str, Any] = {
30
31
  "method": "get",
31
- "url": f"/v1/graphs/{graph_id}/agent",
32
+ "url": "/v1/graphs/{graph_id}/agent".format(
33
+ graph_id=quote(str(graph_id), safe=""),
34
+ ),
32
35
  "params": params,
33
36
  }
34
37
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/agent/recommend",
24
+ "url": "/v1/graphs/{graph_id}/agent/recommend".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/backups",
24
+ "url": "/v1/graphs/{graph_id}/backups".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -24,7 +25,10 @@ def _get_kwargs(
24
25
 
25
26
  _kwargs: dict[str, Any] = {
26
27
  "method": "get",
27
- "url": f"/v1/graphs/{graph_id}/backups/{backup_id}/download",
28
+ "url": "/v1/graphs/{graph_id}/backups/{backup_id}/download".format(
29
+ graph_id=quote(str(graph_id), safe=""),
30
+ backup_id=quote(str(backup_id), safe=""),
31
+ ),
28
32
  "params": params,
29
33
  }
30
34
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "get",
18
- "url": f"/v1/graphs/{graph_id}/backups/stats",
19
+ "url": "/v1/graphs/{graph_id}/backups/stats".format(
20
+ graph_id=quote(str(graph_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -26,7 +27,9 @@ def _get_kwargs(
26
27
 
27
28
  _kwargs: dict[str, Any] = {
28
29
  "method": "get",
29
- "url": f"/v1/graphs/{graph_id}/backups",
30
+ "url": "/v1/graphs/{graph_id}/backups".format(
31
+ graph_id=quote(str(graph_id), safe=""),
32
+ ),
30
33
  "params": params,
31
34
  }
32
35
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -21,7 +22,10 @@ def _get_kwargs(
21
22
 
22
23
  _kwargs: dict[str, Any] = {
23
24
  "method": "post",
24
- "url": f"/v1/graphs/{graph_id}/backups/{backup_id}/restore",
25
+ "url": "/v1/graphs/{graph_id}/backups/{backup_id}/restore".format(
26
+ graph_id=quote(str(graph_id), safe=""),
27
+ backup_id=quote(str(backup_id), safe=""),
28
+ ),
25
29
  }
26
30
 
27
31
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,10 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "post",
19
- "url": f"/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel",
20
+ "url": "/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel".format(
21
+ org_id=quote(str(org_id), safe=""),
22
+ subscription_id=quote(str(subscription_id), safe=""),
23
+ ),
20
24
  }
21
25
 
22
26
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "post",
18
- "url": f"/v1/billing/customer/{org_id}/portal",
19
+ "url": "/v1/billing/customer/{org_id}/portal".format(
20
+ org_id=quote(str(org_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "get",
18
- "url": f"/v1/billing/checkout/{session_id}/status",
19
+ "url": "/v1/billing/checkout/{session_id}/status".format(
20
+ session_id=quote(str(session_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "get",
18
- "url": f"/v1/billing/customer/{org_id}",
19
+ "url": "/v1/billing/customer/{org_id}".format(
20
+ org_id=quote(str(org_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,10 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "get",
19
- "url": f"/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}",
20
+ "url": "/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}".format(
21
+ org_id=quote(str(org_id), safe=""),
22
+ subscription_id=quote(str(subscription_id), safe=""),
23
+ ),
20
24
  }
21
25
 
22
26
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "get",
18
- "url": f"/v1/billing/invoices/{org_id}/upcoming",
19
+ "url": "/v1/billing/invoices/{org_id}/upcoming".format(
20
+ org_id=quote(str(org_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -23,7 +24,9 @@ def _get_kwargs(
23
24
 
24
25
  _kwargs: dict[str, Any] = {
25
26
  "method": "get",
26
- "url": f"/v1/billing/invoices/{org_id}",
27
+ "url": "/v1/billing/invoices/{org_id}".format(
28
+ org_id=quote(str(org_id), safe=""),
29
+ ),
27
30
  "params": params,
28
31
  }
29
32
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -15,7 +16,9 @@ def _get_kwargs(
15
16
  ) -> dict[str, Any]:
16
17
  _kwargs: dict[str, Any] = {
17
18
  "method": "get",
18
- "url": f"/v1/billing/subscriptions/{org_id}",
19
+ "url": "/v1/billing/subscriptions/{org_id}".format(
20
+ org_id=quote(str(org_id), safe=""),
21
+ ),
19
22
  }
20
23
 
21
24
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -21,7 +22,9 @@ def _get_kwargs(
21
22
 
22
23
  _kwargs: dict[str, Any] = {
23
24
  "method": "post",
24
- "url": f"/v1/graphs/{graph_id}/connections",
25
+ "url": "/v1/graphs/{graph_id}/connections".format(
26
+ graph_id=quote(str(graph_id), safe=""),
27
+ ),
25
28
  }
26
29
 
27
30
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/connections/link/token",
24
+ "url": "/v1/graphs/{graph_id}/connections/link/token".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -17,7 +18,10 @@ def _get_kwargs(
17
18
  ) -> dict[str, Any]:
18
19
  _kwargs: dict[str, Any] = {
19
20
  "method": "delete",
20
- "url": f"/v1/graphs/{graph_id}/connections/{connection_id}",
21
+ "url": "/v1/graphs/{graph_id}/connections/{connection_id}".format(
22
+ graph_id=quote(str(graph_id), safe=""),
23
+ connection_id=quote(str(connection_id), safe=""),
24
+ ),
21
25
  }
22
26
 
23
27
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/connections/link/exchange",
24
+ "url": "/v1/graphs/{graph_id}/connections/link/exchange".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -17,7 +18,10 @@ def _get_kwargs(
17
18
  ) -> dict[str, Any]:
18
19
  _kwargs: dict[str, Any] = {
19
20
  "method": "get",
20
- "url": f"/v1/graphs/{graph_id}/connections/{connection_id}",
21
+ "url": "/v1/graphs/{graph_id}/connections/{connection_id}".format(
22
+ graph_id=quote(str(graph_id), safe=""),
23
+ connection_id=quote(str(connection_id), safe=""),
24
+ ),
21
25
  }
22
26
 
23
27
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,9 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "get",
19
- "url": f"/v1/graphs/{graph_id}/connections/options",
20
+ "url": "/v1/graphs/{graph_id}/connections/options".format(
21
+ graph_id=quote(str(graph_id), safe=""),
22
+ ),
20
23
  }
21
24
 
22
25
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -20,7 +21,9 @@ def _get_kwargs(
20
21
 
21
22
  _kwargs: dict[str, Any] = {
22
23
  "method": "post",
23
- "url": f"/v1/graphs/{graph_id}/connections/oauth/init",
24
+ "url": "/v1/graphs/{graph_id}/connections/oauth/init".format(
25
+ graph_id=quote(str(graph_id), safe=""),
26
+ ),
24
27
  }
25
28
 
26
29
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -40,7 +41,9 @@ def _get_kwargs(
40
41
 
41
42
  _kwargs: dict[str, Any] = {
42
43
  "method": "get",
43
- "url": f"/v1/graphs/{graph_id}/connections",
44
+ "url": "/v1/graphs/{graph_id}/connections".format(
45
+ graph_id=quote(str(graph_id), safe=""),
46
+ ),
44
47
  "params": params,
45
48
  }
46
49
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -21,7 +22,10 @@ def _get_kwargs(
21
22
 
22
23
  _kwargs: dict[str, Any] = {
23
24
  "method": "post",
24
- "url": f"/v1/graphs/{graph_id}/connections/oauth/callback/{provider}",
25
+ "url": "/v1/graphs/{graph_id}/connections/oauth/callback/{provider}".format(
26
+ graph_id=quote(str(graph_id), safe=""),
27
+ provider=quote(str(provider), safe=""),
28
+ ),
25
29
  }
26
30
 
27
31
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -24,7 +25,10 @@ def _get_kwargs(
24
25
 
25
26
  _kwargs: dict[str, Any] = {
26
27
  "method": "post",
27
- "url": f"/v1/graphs/{graph_id}/connections/{connection_id}/sync",
28
+ "url": "/v1/graphs/{graph_id}/connections/{connection_id}/sync".format(
29
+ graph_id=quote(str(graph_id), safe=""),
30
+ connection_id=quote(str(connection_id), safe=""),
31
+ ),
28
32
  }
29
33
 
30
34
  _kwargs["json"] = body.to_dict()
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -34,7 +35,9 @@ def _get_kwargs(
34
35
 
35
36
  _kwargs: dict[str, Any] = {
36
37
  "method": "get",
37
- "url": f"/v1/graphs/{graph_id}/credits/balance/check",
38
+ "url": "/v1/graphs/{graph_id}/credits/balance/check".format(
39
+ graph_id=quote(str(graph_id), safe=""),
40
+ ),
38
41
  "params": params,
39
42
  }
40
43
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,9 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "get",
19
- "url": f"/v1/graphs/{graph_id}/credits/storage/limits",
20
+ "url": "/v1/graphs/{graph_id}/credits/storage/limits".format(
21
+ graph_id=quote(str(graph_id), safe=""),
22
+ ),
20
23
  }
21
24
 
22
25
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -16,7 +17,9 @@ def _get_kwargs(
16
17
  ) -> dict[str, Any]:
17
18
  _kwargs: dict[str, Any] = {
18
19
  "method": "get",
19
- "url": f"/v1/graphs/{graph_id}/credits/summary",
20
+ "url": "/v1/graphs/{graph_id}/credits/summary".format(
21
+ graph_id=quote(str(graph_id), safe=""),
22
+ ),
20
23
  }
21
24
 
22
25
  return _kwargs
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -26,7 +27,9 @@ def _get_kwargs(
26
27
 
27
28
  _kwargs: dict[str, Any] = {
28
29
  "method": "get",
29
- "url": f"/v1/graphs/{graph_id}/credits/storage/usage",
30
+ "url": "/v1/graphs/{graph_id}/credits/storage/usage".format(
31
+ graph_id=quote(str(graph_id), safe=""),
32
+ ),
30
33
  "params": params,
31
34
  }
32
35
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -59,7 +60,9 @@ def _get_kwargs(
59
60
 
60
61
  _kwargs: dict[str, Any] = {
61
62
  "method": "get",
62
- "url": f"/v1/graphs/{graph_id}/credits/transactions",
63
+ "url": "/v1/graphs/{graph_id}/credits/transactions".format(
64
+ graph_id=quote(str(graph_id), safe=""),
65
+ ),
63
66
  "params": params,
64
67
  }
65
68
 
@@ -1,5 +1,6 @@
1
1
  from http import HTTPStatus
2
2
  from typing import Any, cast
3
+ from urllib.parse import quote
3
4
 
4
5
  import httpx
5
6
 
@@ -21,7 +22,9 @@ def _get_kwargs(
21
22
 
22
23
  _kwargs: dict[str, Any] = {
23
24
  "method": "post",
24
- "url": f"/v1/graphs/{graph_id}/files",
25
+ "url": "/v1/graphs/{graph_id}/files".format(
26
+ graph_id=quote(str(graph_id), safe=""),
27
+ ),
25
28
  }
26
29
 
27
30
  _kwargs["json"] = body.to_dict()