robosystems-client 0.1.18__py3-none-any.whl → 0.1.19__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.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +1 -1
- robosystems_client/api/agent/batch_process_queries.py +1 -1
- robosystems_client/api/agent/execute_specific_agent.py +1 -1
- robosystems_client/api/agent/get_agent_metadata.py +1 -1
- robosystems_client/api/agent/list_agents.py +1 -1
- robosystems_client/api/agent/recommend_agent.py +1 -1
- robosystems_client/api/backup/create_backup.py +1 -1
- robosystems_client/api/backup/export_backup.py +1 -1
- robosystems_client/api/backup/get_backup_download_url.py +1 -1
- robosystems_client/api/backup/get_backup_stats.py +1 -1
- robosystems_client/api/backup/list_backups.py +1 -1
- robosystems_client/api/backup/restore_backup.py +1 -1
- robosystems_client/api/connections/create_connection.py +1 -1
- robosystems_client/api/connections/create_link_token.py +1 -1
- robosystems_client/api/connections/delete_connection.py +1 -1
- robosystems_client/api/connections/exchange_link_token.py +1 -1
- robosystems_client/api/connections/get_connection.py +1 -1
- robosystems_client/api/connections/get_connection_options.py +1 -1
- robosystems_client/api/connections/init_o_auth.py +1 -1
- robosystems_client/api/connections/list_connections.py +1 -1
- robosystems_client/api/connections/oauth_callback.py +1 -1
- robosystems_client/api/connections/sync_connection.py +1 -1
- robosystems_client/api/copy/copy_data_to_graph.py +1 -1
- robosystems_client/api/graph_analytics/get_graph_metrics.py +1 -1
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +1 -1
- robosystems_client/api/graph_billing/get_current_graph_bill.py +1 -1
- robosystems_client/api/graph_billing/get_graph_billing_history.py +1 -1
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +1 -1
- robosystems_client/api/graph_billing/get_graph_usage_details.py +1 -1
- robosystems_client/api/graph_credits/check_credit_balance.py +1 -1
- robosystems_client/api/graph_credits/check_storage_limits.py +1 -1
- robosystems_client/api/graph_credits/get_credit_summary.py +1 -1
- robosystems_client/api/graph_credits/get_storage_usage.py +1 -1
- robosystems_client/api/graph_credits/list_credit_transactions.py +1 -1
- robosystems_client/api/graph_health/get_database_health.py +1 -1
- robosystems_client/api/graph_info/get_database_info.py +1 -1
- robosystems_client/api/graph_limits/get_graph_limits.py +1 -1
- robosystems_client/api/{create → graphs}/create_graph.py +1 -1
- robosystems_client/api/{create → graphs}/get_available_extensions.py +1 -1
- robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +1 -1
- robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +5 -5
- robosystems_client/api/mcp/call_mcp_tool.py +1 -1
- robosystems_client/api/mcp/list_mcp_tools.py +1 -1
- robosystems_client/api/query/execute_cypher_query.py +1 -1
- robosystems_client/api/schema/export_graph_schema.py +1 -1
- robosystems_client/api/schema/get_graph_schema_info.py +1 -1
- robosystems_client/api/schema/list_schema_extensions.py +1 -1
- robosystems_client/api/schema/validate_schema.py +1 -1
- robosystems_client/api/subgraphs/create_subgraph.py +1 -1
- robosystems_client/api/subgraphs/delete_subgraph.py +1 -1
- robosystems_client/api/subgraphs/get_subgraph_info.py +1 -1
- robosystems_client/api/subgraphs/get_subgraph_quota.py +1 -1
- robosystems_client/api/subgraphs/list_subgraphs.py +1 -1
- robosystems_client/models/__init__.py +0 -2
- robosystems_client/models/api_key_info.py +20 -0
- robosystems_client/models/create_api_key_request.py +20 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.1.19.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.1.19.dist-info}/RECORD +61 -63
- robosystems_client/api/auth/sso_login.py +0 -177
- robosystems_client/models/sso_login_request.py +0 -60
- /robosystems_client/api/{create → graphs}/__init__.py +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.1.19.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.1.19.dist-info}/licenses/LICENSE +0 -0
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "post",
|
|
37
|
-
"url": f"/v1/
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/select",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -89,7 +89,7 @@ def sync_detailed(
|
|
|
89
89
|
token: Union[None, Unset, str] = UNSET,
|
|
90
90
|
authorization: Union[None, Unset, str] = UNSET,
|
|
91
91
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
92
|
-
"""Select
|
|
92
|
+
"""Select Graph
|
|
93
93
|
|
|
94
94
|
Select a specific graph as the active graph for the user.
|
|
95
95
|
|
|
@@ -126,7 +126,7 @@ def sync(
|
|
|
126
126
|
token: Union[None, Unset, str] = UNSET,
|
|
127
127
|
authorization: Union[None, Unset, str] = UNSET,
|
|
128
128
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
129
|
-
"""Select
|
|
129
|
+
"""Select Graph
|
|
130
130
|
|
|
131
131
|
Select a specific graph as the active graph for the user.
|
|
132
132
|
|
|
@@ -158,7 +158,7 @@ async def asyncio_detailed(
|
|
|
158
158
|
token: Union[None, Unset, str] = UNSET,
|
|
159
159
|
authorization: Union[None, Unset, str] = UNSET,
|
|
160
160
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
161
|
-
"""Select
|
|
161
|
+
"""Select Graph
|
|
162
162
|
|
|
163
163
|
Select a specific graph as the active graph for the user.
|
|
164
164
|
|
|
@@ -193,7 +193,7 @@ async def asyncio(
|
|
|
193
193
|
token: Union[None, Unset, str] = UNSET,
|
|
194
194
|
authorization: Union[None, Unset, str] = UNSET,
|
|
195
195
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
196
|
-
"""Select
|
|
196
|
+
"""Select Graph
|
|
197
197
|
|
|
198
198
|
Select a specific graph as the active graph for the user.
|
|
199
199
|
|
|
@@ -218,7 +218,6 @@ from .selection_criteria import SelectionCriteria
|
|
|
218
218
|
from .sso_complete_request import SSOCompleteRequest
|
|
219
219
|
from .sso_exchange_request import SSOExchangeRequest
|
|
220
220
|
from .sso_exchange_response import SSOExchangeResponse
|
|
221
|
-
from .sso_login_request import SSOLoginRequest
|
|
222
221
|
from .sso_token_response import SSOTokenResponse
|
|
223
222
|
from .storage_limit_response import StorageLimitResponse
|
|
224
223
|
from .subgraph_quota_response import SubgraphQuotaResponse
|
|
@@ -425,7 +424,6 @@ __all__ = (
|
|
|
425
424
|
"SSOCompleteRequest",
|
|
426
425
|
"SSOExchangeRequest",
|
|
427
426
|
"SSOExchangeResponse",
|
|
428
|
-
"SSOLoginRequest",
|
|
429
427
|
"SSOTokenResponse",
|
|
430
428
|
"StorageLimitResponse",
|
|
431
429
|
"SubgraphQuotaResponse",
|
|
@@ -21,6 +21,7 @@ class APIKeyInfo:
|
|
|
21
21
|
created_at (str): Creation timestamp
|
|
22
22
|
description (Union[None, Unset, str]): API key description
|
|
23
23
|
last_used_at (Union[None, Unset, str]): Last used timestamp
|
|
24
|
+
expires_at (Union[None, Unset, str]): Expiration timestamp
|
|
24
25
|
"""
|
|
25
26
|
|
|
26
27
|
id: str
|
|
@@ -30,6 +31,7 @@ class APIKeyInfo:
|
|
|
30
31
|
created_at: str
|
|
31
32
|
description: Union[None, Unset, str] = UNSET
|
|
32
33
|
last_used_at: Union[None, Unset, str] = UNSET
|
|
34
|
+
expires_at: Union[None, Unset, str] = UNSET
|
|
33
35
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
34
36
|
|
|
35
37
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -55,6 +57,12 @@ class APIKeyInfo:
|
|
|
55
57
|
else:
|
|
56
58
|
last_used_at = self.last_used_at
|
|
57
59
|
|
|
60
|
+
expires_at: Union[None, Unset, str]
|
|
61
|
+
if isinstance(self.expires_at, Unset):
|
|
62
|
+
expires_at = UNSET
|
|
63
|
+
else:
|
|
64
|
+
expires_at = self.expires_at
|
|
65
|
+
|
|
58
66
|
field_dict: dict[str, Any] = {}
|
|
59
67
|
field_dict.update(self.additional_properties)
|
|
60
68
|
field_dict.update(
|
|
@@ -70,6 +78,8 @@ class APIKeyInfo:
|
|
|
70
78
|
field_dict["description"] = description
|
|
71
79
|
if last_used_at is not UNSET:
|
|
72
80
|
field_dict["last_used_at"] = last_used_at
|
|
81
|
+
if expires_at is not UNSET:
|
|
82
|
+
field_dict["expires_at"] = expires_at
|
|
73
83
|
|
|
74
84
|
return field_dict
|
|
75
85
|
|
|
@@ -104,6 +114,15 @@ class APIKeyInfo:
|
|
|
104
114
|
|
|
105
115
|
last_used_at = _parse_last_used_at(d.pop("last_used_at", UNSET))
|
|
106
116
|
|
|
117
|
+
def _parse_expires_at(data: object) -> Union[None, Unset, str]:
|
|
118
|
+
if data is None:
|
|
119
|
+
return data
|
|
120
|
+
if isinstance(data, Unset):
|
|
121
|
+
return data
|
|
122
|
+
return cast(Union[None, Unset, str], data)
|
|
123
|
+
|
|
124
|
+
expires_at = _parse_expires_at(d.pop("expires_at", UNSET))
|
|
125
|
+
|
|
107
126
|
api_key_info = cls(
|
|
108
127
|
id=id,
|
|
109
128
|
name=name,
|
|
@@ -112,6 +131,7 @@ class APIKeyInfo:
|
|
|
112
131
|
created_at=created_at,
|
|
113
132
|
description=description,
|
|
114
133
|
last_used_at=last_used_at,
|
|
134
|
+
expires_at=expires_at,
|
|
115
135
|
)
|
|
116
136
|
|
|
117
137
|
api_key_info.additional_properties = d
|
|
@@ -16,10 +16,12 @@ class CreateAPIKeyRequest:
|
|
|
16
16
|
Attributes:
|
|
17
17
|
name (str): Name for the API key
|
|
18
18
|
description (Union[None, Unset, str]): Optional description
|
|
19
|
+
expires_at (Union[None, Unset, str]): Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
name: str
|
|
22
23
|
description: Union[None, Unset, str] = UNSET
|
|
24
|
+
expires_at: Union[None, Unset, str] = UNSET
|
|
23
25
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
26
|
|
|
25
27
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -31,6 +33,12 @@ class CreateAPIKeyRequest:
|
|
|
31
33
|
else:
|
|
32
34
|
description = self.description
|
|
33
35
|
|
|
36
|
+
expires_at: Union[None, Unset, str]
|
|
37
|
+
if isinstance(self.expires_at, Unset):
|
|
38
|
+
expires_at = UNSET
|
|
39
|
+
else:
|
|
40
|
+
expires_at = self.expires_at
|
|
41
|
+
|
|
34
42
|
field_dict: dict[str, Any] = {}
|
|
35
43
|
field_dict.update(self.additional_properties)
|
|
36
44
|
field_dict.update(
|
|
@@ -40,6 +48,8 @@ class CreateAPIKeyRequest:
|
|
|
40
48
|
)
|
|
41
49
|
if description is not UNSET:
|
|
42
50
|
field_dict["description"] = description
|
|
51
|
+
if expires_at is not UNSET:
|
|
52
|
+
field_dict["expires_at"] = expires_at
|
|
43
53
|
|
|
44
54
|
return field_dict
|
|
45
55
|
|
|
@@ -57,9 +67,19 @@ class CreateAPIKeyRequest:
|
|
|
57
67
|
|
|
58
68
|
description = _parse_description(d.pop("description", UNSET))
|
|
59
69
|
|
|
70
|
+
def _parse_expires_at(data: object) -> Union[None, Unset, str]:
|
|
71
|
+
if data is None:
|
|
72
|
+
return data
|
|
73
|
+
if isinstance(data, Unset):
|
|
74
|
+
return data
|
|
75
|
+
return cast(Union[None, Unset, str], data)
|
|
76
|
+
|
|
77
|
+
expires_at = _parse_expires_at(d.pop("expires_at", UNSET))
|
|
78
|
+
|
|
60
79
|
create_api_key_request = cls(
|
|
61
80
|
name=name,
|
|
62
81
|
description=description,
|
|
82
|
+
expires_at=expires_at,
|
|
63
83
|
)
|
|
64
84
|
|
|
65
85
|
create_api_key_request.additional_properties = d
|
|
@@ -6,12 +6,12 @@ robosystems_client/sdk-config.yaml,sha256=Y_A8qSC2zHLYy6d443Rlgdkw2GleOSFjYvq_Qm
|
|
|
6
6
|
robosystems_client/types.py,sha256=l5mTsR9GphXnb6qHvveUHNZ_GpiRMqweGNjgKmn6qXE,1349
|
|
7
7
|
robosystems_client/api/__init__.py,sha256=zTSiG_ujSjAqWPyc435YXaX9XTlpMjiJWBbV-f-YtdA,45
|
|
8
8
|
robosystems_client/api/agent/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
9
|
-
robosystems_client/api/agent/auto_select_agent.py,sha256=
|
|
10
|
-
robosystems_client/api/agent/batch_process_queries.py,sha256=
|
|
11
|
-
robosystems_client/api/agent/execute_specific_agent.py,sha256
|
|
12
|
-
robosystems_client/api/agent/get_agent_metadata.py,sha256=
|
|
13
|
-
robosystems_client/api/agent/list_agents.py,sha256=
|
|
14
|
-
robosystems_client/api/agent/recommend_agent.py,sha256=
|
|
9
|
+
robosystems_client/api/agent/auto_select_agent.py,sha256=PDm5ZJFqLxFomlSi3yehutugdz9BpsuZyUa6ilLvI7A,8020
|
|
10
|
+
robosystems_client/api/agent/batch_process_queries.py,sha256=W2oSBa043X6QFFwzwwaG-tA4oOmu2FcvSlMMfWuGu4s,8312
|
|
11
|
+
robosystems_client/api/agent/execute_specific_agent.py,sha256=-h5-7i2kOeJAGxQ3zXADGhTfEOrI9iPMiWxbJJPUPr0,8319
|
|
12
|
+
robosystems_client/api/agent/get_agent_metadata.py,sha256=nnT358_aAgMM-rOvuqXukzb1ePDxithlX-4iuAc3Kho,7528
|
|
13
|
+
robosystems_client/api/agent/list_agents.py,sha256=NsRnkz9oKDQRzVBhD6RdkjTv4fl6oBvmp-aRWf_uBTk,7873
|
|
14
|
+
robosystems_client/api/agent/recommend_agent.py,sha256=R44Mn-HXHwIzHuIoaDcVta2yTHNS8NOjRUF71d2OV2g,8322
|
|
15
15
|
robosystems_client/api/auth/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
16
16
|
robosystems_client/api/auth/check_password_strength.py,sha256=hukbrO7txh61gu2B4cX0ZPWV3XCF1O2Mr5US4acLOP4,4671
|
|
17
17
|
robosystems_client/api/auth/complete_sso_auth.py,sha256=9wj_oQBdzP7bzlst821sXwf7-MlZkQfaKlV5dUSeQSo,4885
|
|
@@ -26,85 +26,84 @@ robosystems_client/api/auth/refresh_auth_session.py,sha256=b5Xpa3QrIJfVYMUhlQn7H
|
|
|
26
26
|
robosystems_client/api/auth/register_user.py,sha256=xXgCceSaDH_oSQMT_L4_lBF3XUSVTFXWMrI8-I3M6xc,5565
|
|
27
27
|
robosystems_client/api/auth/resend_verification_email.py,sha256=aUXAN5iLTcbW5Wpipd4iyZjhQ906J0kSwCZGklTVBW8,5943
|
|
28
28
|
robosystems_client/api/auth/reset_password.py,sha256=QgXpvx80Ex9fccj4RXwXrV1QOhJv3ClNXBj9pLlTlEI,4857
|
|
29
|
-
robosystems_client/api/auth/sso_login.py,sha256=seSNkqyYjXPaSoRCxlwahiauH_BvqFbpExxkrYBXgi8,4717
|
|
30
29
|
robosystems_client/api/auth/sso_token_exchange.py,sha256=-rl28H-WCbO1gsw_kpzPe_t-WuA6mTfmcKcNzfzgY90,5088
|
|
31
30
|
robosystems_client/api/auth/validate_reset_token.py,sha256=kNxoCedKJHpF-bgxe9roPIjVAo22Tt2MA2j1bnEUPwI,4564
|
|
32
31
|
robosystems_client/api/auth/verify_email.py,sha256=0EKqUmfoRKsLCBnjS0u7MjKry3plrlTLlqYMLSFUCaQ,4951
|
|
33
32
|
robosystems_client/api/backup/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
34
|
-
robosystems_client/api/backup/create_backup.py,sha256=
|
|
35
|
-
robosystems_client/api/backup/export_backup.py,sha256=
|
|
36
|
-
robosystems_client/api/backup/get_backup_download_url.py,sha256=
|
|
37
|
-
robosystems_client/api/backup/get_backup_stats.py,sha256=
|
|
38
|
-
robosystems_client/api/backup/list_backups.py,sha256=
|
|
39
|
-
robosystems_client/api/backup/restore_backup.py,sha256=
|
|
33
|
+
robosystems_client/api/backup/create_backup.py,sha256=gnNZBoaGMOVNo8uA6AsS4SKiDRAEnfVYefdeCkdIXns,13169
|
|
34
|
+
robosystems_client/api/backup/export_backup.py,sha256=hpClddVtoNR1dlaMlanXNL9wsAKB45za9Aee4tHxeKo,6352
|
|
35
|
+
robosystems_client/api/backup/get_backup_download_url.py,sha256=mzCt9um6mt6fZ__e51Myt10jwNVKnCHa_kmS4pG-OXg,7862
|
|
36
|
+
robosystems_client/api/backup/get_backup_stats.py,sha256=iHYxmEu8GhUCXYNnOZpBPJaCxX5e8TIWLLqAPlKF1rk,5902
|
|
37
|
+
robosystems_client/api/backup/list_backups.py,sha256=zd0rbIt-NkrfJXuc4-KpjtqNdZDFWbN5zvwhN1XA2s4,6965
|
|
38
|
+
robosystems_client/api/backup/restore_backup.py,sha256=f5vfHZ6KsJv3cO3aJgtDjwYErVpwbO9eLVQCAm7vg64,13612
|
|
40
39
|
robosystems_client/api/connections/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
41
|
-
robosystems_client/api/connections/create_connection.py,sha256=
|
|
42
|
-
robosystems_client/api/connections/create_link_token.py,sha256=
|
|
43
|
-
robosystems_client/api/connections/delete_connection.py,sha256=
|
|
44
|
-
robosystems_client/api/connections/exchange_link_token.py,sha256=
|
|
45
|
-
robosystems_client/api/connections/get_connection.py,sha256=
|
|
46
|
-
robosystems_client/api/connections/get_connection_options.py,sha256=
|
|
47
|
-
robosystems_client/api/connections/init_o_auth.py,sha256=
|
|
48
|
-
robosystems_client/api/connections/list_connections.py,sha256=
|
|
49
|
-
robosystems_client/api/connections/oauth_callback.py,sha256=
|
|
50
|
-
robosystems_client/api/connections/sync_connection.py,sha256=
|
|
40
|
+
robosystems_client/api/connections/create_connection.py,sha256=NIL8Howks2UTZlyVNHrcCA1auJNoHVXc0l7hLxOkggU,9403
|
|
41
|
+
robosystems_client/api/connections/create_link_token.py,sha256=qDTqs0tTYCuUaa3PjswOsiyC8_kxOtaz7lmgphkiRNM,8480
|
|
42
|
+
robosystems_client/api/connections/delete_connection.py,sha256=dw55bNpKq5Bif38t8lq0r6KHYD557eBvm-bMV0ZCuNE,7988
|
|
43
|
+
robosystems_client/api/connections/exchange_link_token.py,sha256=fPZpBSTSCxLtl9MWKveumiGXRbfIlTaZw-rvHa6khoM,9115
|
|
44
|
+
robosystems_client/api/connections/get_connection.py,sha256=u1l_wsK7toH9oOS9tndbItE7Xlc71TnbRLCqXqmqlfo,7912
|
|
45
|
+
robosystems_client/api/connections/get_connection_options.py,sha256=Lu8ximQgz2jbcTJPx5UovAbN0pQ5QL9IBNx4GfJVXbQ,8969
|
|
46
|
+
robosystems_client/api/connections/init_o_auth.py,sha256=LVRFB_-E11gXXwhMskzpOyTwhKnB1UcX5IJHVZB1qPI,6790
|
|
47
|
+
robosystems_client/api/connections/list_connections.py,sha256=ABLspmvfPnkT11uMXSwVkws_7za2fwgllu60trNemKY,10081
|
|
48
|
+
robosystems_client/api/connections/oauth_callback.py,sha256=83cQqPPKnu0BZZsfj0nqJGsuhFEsdmK1gqUX2O1gSp4,9358
|
|
49
|
+
robosystems_client/api/connections/sync_connection.py,sha256=H587C9p1VkQWhOtXmf1ShZWtP65X32UzzUAEIBjkDTw,10074
|
|
51
50
|
robosystems_client/api/copy/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
52
|
-
robosystems_client/api/copy/copy_data_to_graph.py,sha256=
|
|
53
|
-
robosystems_client/api/create/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
54
|
-
robosystems_client/api/create/create_graph.py,sha256=c6V5kQ5By8GvPa_ukmum1JcMmkNfd67gPrndTwYjCgU,13380
|
|
55
|
-
robosystems_client/api/create/get_available_extensions.py,sha256=sFf-YdbDy9VGOK8WZ4JBoxrcVe2PtYW6XLp-EkyMt7E,3502
|
|
51
|
+
robosystems_client/api/copy/copy_data_to_graph.py,sha256=HWJnASTgOttHv9_rqeQXlQ78JdgWnbsxf-lfLmtPk_w,17407
|
|
56
52
|
robosystems_client/api/graph_analytics/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
57
|
-
robosystems_client/api/graph_analytics/get_graph_metrics.py,sha256=
|
|
58
|
-
robosystems_client/api/graph_analytics/get_graph_usage_stats.py,sha256=
|
|
53
|
+
robosystems_client/api/graph_analytics/get_graph_metrics.py,sha256=0jFH_ZM5dkoX5ls-0zxWpYrpX7zds0ys_lkp1rUcpEA,8757
|
|
54
|
+
robosystems_client/api/graph_analytics/get_graph_usage_stats.py,sha256=VUDsPA_Qv77EKCxx2D8UGqVlotKex0-Io4GRL_XGmyY,9698
|
|
59
55
|
robosystems_client/api/graph_billing/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
60
|
-
robosystems_client/api/graph_billing/get_current_graph_bill.py,sha256
|
|
61
|
-
robosystems_client/api/graph_billing/get_graph_billing_history.py,sha256=
|
|
62
|
-
robosystems_client/api/graph_billing/get_graph_monthly_bill.py,sha256=
|
|
63
|
-
robosystems_client/api/graph_billing/get_graph_usage_details.py,sha256=
|
|
56
|
+
robosystems_client/api/graph_billing/get_current_graph_bill.py,sha256=-BpI2MoDckZDRJ4xOwXnCwngZIQSYXD_po4ePzPOcXQ,8679
|
|
57
|
+
robosystems_client/api/graph_billing/get_graph_billing_history.py,sha256=QWjCPjRwqibX1clcbtXt0P-xm0v5yRqDeX1spUonFVs,8907
|
|
58
|
+
robosystems_client/api/graph_billing/get_graph_monthly_bill.py,sha256=kUGqz-_pXXqHOyh1VXO2BImAjfSR-TyMCcMCvlkGpEs,8688
|
|
59
|
+
robosystems_client/api/graph_billing/get_graph_usage_details.py,sha256=ZZVs4TeP-ATupBQ4SCpiIzTZJTr7Dpi978xWIZDOhN4,10356
|
|
64
60
|
robosystems_client/api/graph_credits/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
65
|
-
robosystems_client/api/graph_credits/check_credit_balance.py,sha256=
|
|
66
|
-
robosystems_client/api/graph_credits/check_storage_limits.py,sha256=
|
|
67
|
-
robosystems_client/api/graph_credits/get_credit_summary.py,sha256=
|
|
68
|
-
robosystems_client/api/graph_credits/get_storage_usage.py,sha256=
|
|
69
|
-
robosystems_client/api/graph_credits/list_credit_transactions.py,sha256=
|
|
61
|
+
robosystems_client/api/graph_credits/check_credit_balance.py,sha256=Got4l06B3gV_uEakHA0Qj_ZDHBnvBPdgkHYy6ARif1I,9625
|
|
62
|
+
robosystems_client/api/graph_credits/check_storage_limits.py,sha256=WN9mwXOJguK9srbmaYmp1-_ULYxB1jcTGZLWBB-SEpg,7782
|
|
63
|
+
robosystems_client/api/graph_credits/get_credit_summary.py,sha256=mMuztU7mh69F6p8vDGPdkPdNDpO3az0lfelf5Belo38,7636
|
|
64
|
+
robosystems_client/api/graph_credits/get_storage_usage.py,sha256=S0GPSHd9lVa6pk5ta3c64_ZhJyQ0Z9VfZ80IcfyAyws,8212
|
|
65
|
+
robosystems_client/api/graph_credits/list_credit_transactions.py,sha256=iAJXnmnyWYTc10e_GsUU-Dr2X4nUuX_IW6mBQ3TM5Wo,13763
|
|
70
66
|
robosystems_client/api/graph_health/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
71
|
-
robosystems_client/api/graph_health/get_database_health.py,sha256=
|
|
67
|
+
robosystems_client/api/graph_health/get_database_health.py,sha256=kh2dI4LxDBT5okU2gO465HS5iqhoR8S1RmH-KBwNCrg,9017
|
|
72
68
|
robosystems_client/api/graph_info/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
73
|
-
robosystems_client/api/graph_info/get_database_info.py,sha256=
|
|
69
|
+
robosystems_client/api/graph_info/get_database_info.py,sha256=jRM6e0b2ChKyqnJZoPmJfLiCcVt-ezABTUq8EyBrgxw,9353
|
|
74
70
|
robosystems_client/api/graph_limits/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
75
|
-
robosystems_client/api/graph_limits/get_graph_limits.py,sha256=
|
|
71
|
+
robosystems_client/api/graph_limits/get_graph_limits.py,sha256=FTPzVNPk1saC5p-LyqfbidFC9DE5QU4HnnbyZEB158A,9048
|
|
72
|
+
robosystems_client/api/graphs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
73
|
+
robosystems_client/api/graphs/create_graph.py,sha256=aq1VGmT7qyCjNyF0qhZ_1MXsoIfST_eB9Y101EMfYYw,13374
|
|
74
|
+
robosystems_client/api/graphs/get_available_extensions.py,sha256=eKJ6ObXbdIUkoR1-kDBvXbZdYqLdxfuOtyWwxfEnaic,3496
|
|
75
|
+
robosystems_client/api/graphs/get_graphs.py,sha256=uPzjB6o-Jca_P_u7bKJ_EO5wRreh0k180F85qAI_IVs,5416
|
|
76
|
+
robosystems_client/api/graphs/select_graph.py,sha256=-nZVpBFP01N2EB9nraRUWwEW2v6kvZxBn9EQaaub_Io,6217
|
|
76
77
|
robosystems_client/api/mcp/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
77
|
-
robosystems_client/api/mcp/call_mcp_tool.py,sha256=
|
|
78
|
-
robosystems_client/api/mcp/list_mcp_tools.py,sha256=
|
|
78
|
+
robosystems_client/api/mcp/call_mcp_tool.py,sha256=35VCW9P16BXUHF4kPfk48kLE2ONGmpeLC69gVyLHP4U,14211
|
|
79
|
+
robosystems_client/api/mcp/list_mcp_tools.py,sha256=IEgAE9Cm25tKZ4K0RPf46ETs8tztTHZa1MlSlMt1fKY,8442
|
|
79
80
|
robosystems_client/api/operations/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
80
81
|
robosystems_client/api/operations/cancel_operation.py,sha256=uflJnjPWwNOy2B4wCHLN3m5wplKHmWy8PGU9MRdVQ5I,7734
|
|
81
82
|
robosystems_client/api/operations/get_operation_status.py,sha256=rWc45qA6zmAeoYdoUC5BGSjfOBT7G_7jEEt3PoqN728,8508
|
|
82
83
|
robosystems_client/api/operations/stream_operation_events.py,sha256=g1lBFi4Jq4CKuSLOXnZDRhfS8t-wpSvo_u324hlIF9I,14037
|
|
83
84
|
robosystems_client/api/query/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
84
|
-
robosystems_client/api/query/execute_cypher_query.py,sha256=
|
|
85
|
+
robosystems_client/api/query/execute_cypher_query.py,sha256=VuFzafJTZ3vc_1mYgkp9Fp4yJu2XL3DOfNymzpeF-Jw,16700
|
|
85
86
|
robosystems_client/api/schema/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
86
|
-
robosystems_client/api/schema/export_graph_schema.py,sha256=
|
|
87
|
-
robosystems_client/api/schema/get_graph_schema_info.py,sha256=
|
|
88
|
-
robosystems_client/api/schema/list_schema_extensions.py,sha256=
|
|
89
|
-
robosystems_client/api/schema/validate_schema.py,sha256=
|
|
87
|
+
robosystems_client/api/schema/export_graph_schema.py,sha256=P0aaDMS3IYUD9VRkjCLiaCyDa_oWjfT3tclVEXADpbw,7587
|
|
88
|
+
robosystems_client/api/schema/get_graph_schema_info.py,sha256=hxxkXH1On-s9WrrFqogw8CcEKRSFLOnOHtfk2U8EFpc,8785
|
|
89
|
+
robosystems_client/api/schema/list_schema_extensions.py,sha256=1AkSxLboynPTF-XZTz8cqYg3gUeciTxKfzqv5emYl3g,6396
|
|
90
|
+
robosystems_client/api/schema/validate_schema.py,sha256=woH7XvKxHzluCRYXvFnDATvTtStd5_8Jyu3NPbmSBrw,9935
|
|
90
91
|
robosystems_client/api/service_offerings/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
91
92
|
robosystems_client/api/service_offerings/get_service_offerings.py,sha256=fsj86E8ml2O2HhmUMJOyte6E7qEFA5Nip30tO63kmyg,6157
|
|
92
93
|
robosystems_client/api/status/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
93
94
|
robosystems_client/api/status/get_service_status.py,sha256=ORuAz31SqditB0mXVsQBSE_SJIghpwACxaJGgX5z1p8,3305
|
|
94
95
|
robosystems_client/api/subgraphs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
95
|
-
robosystems_client/api/subgraphs/create_subgraph.py,sha256=
|
|
96
|
-
robosystems_client/api/subgraphs/delete_subgraph.py,sha256=
|
|
97
|
-
robosystems_client/api/subgraphs/get_subgraph_info.py,sha256=
|
|
98
|
-
robosystems_client/api/subgraphs/get_subgraph_quota.py,sha256=
|
|
99
|
-
robosystems_client/api/subgraphs/list_subgraphs.py,sha256=
|
|
96
|
+
robosystems_client/api/subgraphs/create_subgraph.py,sha256=eY-nl7itLT0BcF2x0-sqTWp_e1sTMSi8oYYC6wwtQes,8068
|
|
97
|
+
robosystems_client/api/subgraphs/delete_subgraph.py,sha256=HNQjbddRDBWihgZiK4yl0IFBbOPwM3xLT2BWZ1g-OJE,9555
|
|
98
|
+
robosystems_client/api/subgraphs/get_subgraph_info.py,sha256=plNLVc8Lv8_SEEl5itV0cvGPUm3qkPUv4nQv277yt_w,8400
|
|
99
|
+
robosystems_client/api/subgraphs/get_subgraph_quota.py,sha256=twONrqpUWrz6Lib3bWgC8_RVMO6i8jYMfdodIlOCMcU,8202
|
|
100
|
+
robosystems_client/api/subgraphs/list_subgraphs.py,sha256=jQhNH01hadlznhaPpxydeOurzy9eWu5TxmZh1WgWf04,7100
|
|
100
101
|
robosystems_client/api/user/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
101
102
|
robosystems_client/api/user/create_user_api_key.py,sha256=AKmoAASeauALZPL3xn8pxS0TRpC4SNv_E7lSdYbZ82M,6055
|
|
102
103
|
robosystems_client/api/user/get_all_credit_summaries.py,sha256=hpSF0v8bSWSYXjXRAReef4ZMsR-2KzRgTNUVgWYwHso,7230
|
|
103
104
|
robosystems_client/api/user/get_current_user.py,sha256=yONl4aU_lx5M1Rw3Jw_wAOjufrL4adMh2zPMJ9lNGB4,5355
|
|
104
|
-
robosystems_client/api/user/get_user_graphs.py,sha256=-WhqFjig34Oum_N2n-C08gda978Bt32CNufV2kAIzT0,5421
|
|
105
105
|
robosystems_client/api/user/list_user_api_keys.py,sha256=JW0s4B9eQRJNFKtxkZnQO0ABpkbnGIn38bWcMFhTNtg,5308
|
|
106
106
|
robosystems_client/api/user/revoke_user_api_key.py,sha256=CdEU3nCfL0QdLfNn_U2bDb2FgDpnv8QvKlLLlJTe8RQ,6040
|
|
107
|
-
robosystems_client/api/user/select_user_graph.py,sha256=1omIQ3dzZLVF4AWluGSExOV7-TLn3X6ssft5xq4oQ90,6242
|
|
108
107
|
robosystems_client/api/user/update_user.py,sha256=tRgbdsuLgL9Ytu7khe59BELtaSU4luCoTIiFB5908SU,5948
|
|
109
108
|
robosystems_client/api/user/update_user_api_key.py,sha256=DoNGgQts3KpLbvHYMtPI_NwrOu5Vq9IIVNqT2gROPg4,6218
|
|
110
109
|
robosystems_client/api/user/update_user_password.py,sha256=-UiYS4QOucuDCXoU66kSZmhvU4Q8rg8vN0vZywePi5E,6542
|
|
@@ -139,7 +138,7 @@ robosystems_client/extensions/tests/test_dataframe_utils.py,sha256=g184mdEMSkFt6
|
|
|
139
138
|
robosystems_client/extensions/tests/test_integration.py,sha256=DszEH9-CJ-d5KB2NNNY9BZMT8f3A_Z-MLXYW5WfVeRk,15446
|
|
140
139
|
robosystems_client/extensions/tests/test_token_utils.py,sha256=CsrpW771pLRrdQoM91oJ9_B33SB3YTno4_OPog6mIgo,8424
|
|
141
140
|
robosystems_client/extensions/tests/test_unit.py,sha256=REnfMGpgH-FS-n860-3qXEUqAxZ7zbci-nIDPYuB7Tw,16712
|
|
142
|
-
robosystems_client/models/__init__.py,sha256=
|
|
141
|
+
robosystems_client/models/__init__.py,sha256=IBt13btlQzNlHw2nQJHyb5RQ7cibJvfWtF4zT62H3as,19888
|
|
143
142
|
robosystems_client/models/account_info.py,sha256=rcENAioMA3olA3Sks5raIqeODqRgrmFuiFhwzLunrGI,2054
|
|
144
143
|
robosystems_client/models/add_on_credit_info.py,sha256=h65KAb8yZP_SGpsB2Ref4IaBCthEDYJgFGTd9PjUpfs,3221
|
|
145
144
|
robosystems_client/models/agent_list_response.py,sha256=68PkLJ3goUZlm8WZ4HOjlWLZrPYKwJQ6PTPm2ZNRmBM,1873
|
|
@@ -158,7 +157,7 @@ robosystems_client/models/agent_response.py,sha256=RKoVxmVdwpnWKDPpnjdCmYdTrTZ0i
|
|
|
158
157
|
robosystems_client/models/agent_response_error_details_type_0.py,sha256=sXLU3BcfMvvt8F0Hw_NhYXjxtUF-F-HAw785a63X5bA,1237
|
|
159
158
|
robosystems_client/models/agent_response_metadata_type_0.py,sha256=3Kn2zUDzbp49MXItEHWyA0ujGIpSvVHehfUIIc4KhP4,1214
|
|
160
159
|
robosystems_client/models/agent_response_tokens_used_type_0.py,sha256=IcDJbOww9ZMAHvS8R4Stk8OJnQ30TVHlp89HN7tGZzg,1227
|
|
161
|
-
robosystems_client/models/api_key_info.py,sha256=
|
|
160
|
+
robosystems_client/models/api_key_info.py,sha256=xXNLsbL4Z-bIRf8jWd7G48iXP4oboiPQTPgGjipylOo,4070
|
|
162
161
|
robosystems_client/models/api_keys_response.py,sha256=SaqZcuXOQkT4rVT4uc8SlKTu_F0NZT5T9WjRFpCIGu8,1882
|
|
163
162
|
robosystems_client/models/auth_response.py,sha256=AuXkzebfEcgIdR3allttnm9x_PYNdXNLfs3xshioqJo,2404
|
|
164
163
|
robosystems_client/models/auth_response_user.py,sha256=QSXztxSkwxAbCkUJBeKcN-_4d-NONtJnMB99cJHmuAw,1173
|
|
@@ -185,7 +184,7 @@ robosystems_client/models/connection_response_provider.py,sha256=th7b2inab-PZWaQ
|
|
|
185
184
|
robosystems_client/models/copy_response.py,sha256=fqmLbYl12xK_feDRJs1lM4_2ZGRvKPs0NIf3aDHfG-Y,8804
|
|
186
185
|
robosystems_client/models/copy_response_error_details_type_0.py,sha256=_Y_o8lWlPlQtQJxIX33URTGkzC4CDslBWloxpUgw4u4,1232
|
|
187
186
|
robosystems_client/models/copy_response_status.py,sha256=Q9U7d7AOb9Ff0G4k4ynqoMgC5MdKXmTKxfIZv4o-7mA,209
|
|
188
|
-
robosystems_client/models/create_api_key_request.py,sha256=
|
|
187
|
+
robosystems_client/models/create_api_key_request.py,sha256=aP-X8CtffeRUXDqG-WzM4gn8_DOwPt5CURmGYIbjgqY,2829
|
|
189
188
|
robosystems_client/models/create_api_key_response.py,sha256=9cqlZDogqxdSXxxHT6PnfClTP-Q35CvfQjNIvPEe1Pw,1797
|
|
190
189
|
robosystems_client/models/create_connection_request.py,sha256=B9riNF1QK1P3RB680lFAJGsZtYbPHVc14u1TBnIv0QQ,5948
|
|
191
190
|
robosystems_client/models/create_connection_request_provider.py,sha256=TBZm3ApK31i1jit4WUxqtFtJq-LYKqXeVAHJIJh9Slw,190
|
|
@@ -296,7 +295,6 @@ robosystems_client/models/selection_criteria.py,sha256=h04f-YIVc6Ljq1Eo-l5buFNTZ
|
|
|
296
295
|
robosystems_client/models/sso_complete_request.py,sha256=_k4oKRh41Z3DVIrP8-bbFE3AenBbflLrY2tw6xg5G34,1482
|
|
297
296
|
robosystems_client/models/sso_exchange_request.py,sha256=b-XqNnBNLMviA6-rPmvfDLw6QELxs9-2tELSqjZJVQ4,2338
|
|
298
297
|
robosystems_client/models/sso_exchange_response.py,sha256=HmcvnafE-AQvzjvVBcGEft7FE6cxW2yJ1iiXtJbLe2A,2030
|
|
299
|
-
robosystems_client/models/sso_login_request.py,sha256=zFkukTRnhKLhmcuypwEI5781XV38wB-5AW32fB25MSE,1391
|
|
300
298
|
robosystems_client/models/sso_token_response.py,sha256=nZUjC2-uvY8kBxXRzf_XLw6Oh9T2jF24sy7tf2BsYZY,1909
|
|
301
299
|
robosystems_client/models/storage_limit_response.py,sha256=MARn28shb1eSTXx7ZoXdkWr_tKRh87bdl49Ois-aVow,4149
|
|
302
300
|
robosystems_client/models/subgraph_quota_response.py,sha256=pBHhUt2CXHR3UondX10XGkpmM7wlyxCqk39Te1LZXz8,4693
|
|
@@ -337,7 +335,7 @@ robosystems_client/models/user_usage_response_graphs.py,sha256=xAH-ZnhaUfWQ_2EpZ
|
|
|
337
335
|
robosystems_client/models/user_usage_summary_response.py,sha256=4hthwTH7bXyzdYlHoekDYOgDLI-stGRH507Bl2rUjYA,3655
|
|
338
336
|
robosystems_client/models/user_usage_summary_response_usage_vs_limits.py,sha256=XrZnRcy1nD3xtKX4svbww7QfEHrN7_XIfeL9j5ZMbyQ,1298
|
|
339
337
|
robosystems_client/models/validation_error.py,sha256=R77OuQG2nJ3WDFfY--xbEhg6x1D7gAAp_1UdnG8Ka2A,1949
|
|
340
|
-
robosystems_client-0.1.
|
|
341
|
-
robosystems_client-0.1.
|
|
342
|
-
robosystems_client-0.1.
|
|
343
|
-
robosystems_client-0.1.
|
|
338
|
+
robosystems_client-0.1.19.dist-info/METADATA,sha256=viPCdM0fMCvj5WbxuPj4u_8DlP2EgiUWjStkC6KgpPs,3717
|
|
339
|
+
robosystems_client-0.1.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
340
|
+
robosystems_client-0.1.19.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
|
|
341
|
+
robosystems_client-0.1.19.dist-info/RECORD,,
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Optional, Union
|
|
3
|
-
|
|
4
|
-
import httpx
|
|
5
|
-
|
|
6
|
-
from ... import errors
|
|
7
|
-
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.auth_response import AuthResponse
|
|
9
|
-
from ...models.error_response import ErrorResponse
|
|
10
|
-
from ...models.http_validation_error import HTTPValidationError
|
|
11
|
-
from ...models.sso_login_request import SSOLoginRequest
|
|
12
|
-
from ...types import Response
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
def _get_kwargs(
|
|
16
|
-
*,
|
|
17
|
-
body: SSOLoginRequest,
|
|
18
|
-
) -> dict[str, Any]:
|
|
19
|
-
headers: dict[str, Any] = {}
|
|
20
|
-
|
|
21
|
-
_kwargs: dict[str, Any] = {
|
|
22
|
-
"method": "post",
|
|
23
|
-
"url": "/v1/auth/sso-login",
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
_kwargs["json"] = body.to_dict()
|
|
27
|
-
|
|
28
|
-
headers["Content-Type"] = "application/json"
|
|
29
|
-
|
|
30
|
-
_kwargs["headers"] = headers
|
|
31
|
-
return _kwargs
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
def _parse_response(
|
|
35
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
36
|
-
) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
37
|
-
if response.status_code == 200:
|
|
38
|
-
response_200 = AuthResponse.from_dict(response.json())
|
|
39
|
-
|
|
40
|
-
return response_200
|
|
41
|
-
if response.status_code == 401:
|
|
42
|
-
response_401 = ErrorResponse.from_dict(response.json())
|
|
43
|
-
|
|
44
|
-
return response_401
|
|
45
|
-
if response.status_code == 422:
|
|
46
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
47
|
-
|
|
48
|
-
return response_422
|
|
49
|
-
if client.raise_on_unexpected_status:
|
|
50
|
-
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
51
|
-
else:
|
|
52
|
-
return None
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
def _build_response(
|
|
56
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
57
|
-
) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
58
|
-
return Response(
|
|
59
|
-
status_code=HTTPStatus(response.status_code),
|
|
60
|
-
content=response.content,
|
|
61
|
-
headers=response.headers,
|
|
62
|
-
parsed=_parse_response(client=client, response=response),
|
|
63
|
-
)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
def sync_detailed(
|
|
67
|
-
*,
|
|
68
|
-
client: Union[AuthenticatedClient, Client],
|
|
69
|
-
body: SSOLoginRequest,
|
|
70
|
-
) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
71
|
-
"""SSO Login
|
|
72
|
-
|
|
73
|
-
Authenticate user with SSO token and establish session.
|
|
74
|
-
|
|
75
|
-
Args:
|
|
76
|
-
body (SSOLoginRequest): SSO login request model.
|
|
77
|
-
|
|
78
|
-
Raises:
|
|
79
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
80
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
81
|
-
|
|
82
|
-
Returns:
|
|
83
|
-
Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]
|
|
84
|
-
"""
|
|
85
|
-
|
|
86
|
-
kwargs = _get_kwargs(
|
|
87
|
-
body=body,
|
|
88
|
-
)
|
|
89
|
-
|
|
90
|
-
response = client.get_httpx_client().request(
|
|
91
|
-
**kwargs,
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
return _build_response(client=client, response=response)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
def sync(
|
|
98
|
-
*,
|
|
99
|
-
client: Union[AuthenticatedClient, Client],
|
|
100
|
-
body: SSOLoginRequest,
|
|
101
|
-
) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
102
|
-
"""SSO Login
|
|
103
|
-
|
|
104
|
-
Authenticate user with SSO token and establish session.
|
|
105
|
-
|
|
106
|
-
Args:
|
|
107
|
-
body (SSOLoginRequest): SSO login request model.
|
|
108
|
-
|
|
109
|
-
Raises:
|
|
110
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
111
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
112
|
-
|
|
113
|
-
Returns:
|
|
114
|
-
Union[AuthResponse, ErrorResponse, HTTPValidationError]
|
|
115
|
-
"""
|
|
116
|
-
|
|
117
|
-
return sync_detailed(
|
|
118
|
-
client=client,
|
|
119
|
-
body=body,
|
|
120
|
-
).parsed
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
async def asyncio_detailed(
|
|
124
|
-
*,
|
|
125
|
-
client: Union[AuthenticatedClient, Client],
|
|
126
|
-
body: SSOLoginRequest,
|
|
127
|
-
) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
128
|
-
"""SSO Login
|
|
129
|
-
|
|
130
|
-
Authenticate user with SSO token and establish session.
|
|
131
|
-
|
|
132
|
-
Args:
|
|
133
|
-
body (SSOLoginRequest): SSO login request model.
|
|
134
|
-
|
|
135
|
-
Raises:
|
|
136
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
137
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
138
|
-
|
|
139
|
-
Returns:
|
|
140
|
-
Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]
|
|
141
|
-
"""
|
|
142
|
-
|
|
143
|
-
kwargs = _get_kwargs(
|
|
144
|
-
body=body,
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
response = await client.get_async_httpx_client().request(**kwargs)
|
|
148
|
-
|
|
149
|
-
return _build_response(client=client, response=response)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
async def asyncio(
|
|
153
|
-
*,
|
|
154
|
-
client: Union[AuthenticatedClient, Client],
|
|
155
|
-
body: SSOLoginRequest,
|
|
156
|
-
) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
157
|
-
"""SSO Login
|
|
158
|
-
|
|
159
|
-
Authenticate user with SSO token and establish session.
|
|
160
|
-
|
|
161
|
-
Args:
|
|
162
|
-
body (SSOLoginRequest): SSO login request model.
|
|
163
|
-
|
|
164
|
-
Raises:
|
|
165
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
166
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
167
|
-
|
|
168
|
-
Returns:
|
|
169
|
-
Union[AuthResponse, ErrorResponse, HTTPValidationError]
|
|
170
|
-
"""
|
|
171
|
-
|
|
172
|
-
return (
|
|
173
|
-
await asyncio_detailed(
|
|
174
|
-
client=client,
|
|
175
|
-
body=body,
|
|
176
|
-
)
|
|
177
|
-
).parsed
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
3
|
-
|
|
4
|
-
from attrs import define as _attrs_define
|
|
5
|
-
from attrs import field as _attrs_field
|
|
6
|
-
|
|
7
|
-
T = TypeVar("T", bound="SSOLoginRequest")
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@_attrs_define
|
|
11
|
-
class SSOLoginRequest:
|
|
12
|
-
"""SSO login request model.
|
|
13
|
-
|
|
14
|
-
Attributes:
|
|
15
|
-
token (str): Temporary SSO token
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
token: str
|
|
19
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
-
|
|
21
|
-
def to_dict(self) -> dict[str, Any]:
|
|
22
|
-
token = self.token
|
|
23
|
-
|
|
24
|
-
field_dict: dict[str, Any] = {}
|
|
25
|
-
field_dict.update(self.additional_properties)
|
|
26
|
-
field_dict.update(
|
|
27
|
-
{
|
|
28
|
-
"token": token,
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
|
|
32
|
-
return field_dict
|
|
33
|
-
|
|
34
|
-
@classmethod
|
|
35
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
36
|
-
d = dict(src_dict)
|
|
37
|
-
token = d.pop("token")
|
|
38
|
-
|
|
39
|
-
sso_login_request = cls(
|
|
40
|
-
token=token,
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
sso_login_request.additional_properties = d
|
|
44
|
-
return sso_login_request
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
def additional_keys(self) -> list[str]:
|
|
48
|
-
return list(self.additional_properties.keys())
|
|
49
|
-
|
|
50
|
-
def __getitem__(self, key: str) -> Any:
|
|
51
|
-
return self.additional_properties[key]
|
|
52
|
-
|
|
53
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
54
|
-
self.additional_properties[key] = value
|
|
55
|
-
|
|
56
|
-
def __delitem__(self, key: str) -> None:
|
|
57
|
-
del self.additional_properties[key]
|
|
58
|
-
|
|
59
|
-
def __contains__(self, key: str) -> bool:
|
|
60
|
-
return key in self.additional_properties
|
|
File without changes
|
|
File without changes
|
{robosystems_client-0.1.18.dist-info → robosystems_client-0.1.19.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|