robosystems-client 0.2.12__py3-none-any.whl → 0.2.14__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 +81 -9
- robosystems_client/api/agent/execute_specific_agent.py +73 -5
- robosystems_client/api/agent/get_agent_metadata.py +1 -1
- robosystems_client/api/agent/list_agents.py +1 -1
- robosystems_client/api/billing/{update_org_payment_method.py → create_portal_session.py} +57 -47
- robosystems_client/api/credits_/list_credit_transactions.py +4 -4
- robosystems_client/api/subgraphs/create_subgraph.py +4 -4
- robosystems_client/api/subgraphs/delete_subgraph.py +8 -8
- robosystems_client/extensions/__init__.py +25 -0
- robosystems_client/extensions/agent_client.py +526 -0
- robosystems_client/extensions/extensions.py +3 -0
- robosystems_client/models/__init__.py +2 -6
- robosystems_client/models/checkout_status_response.py +2 -1
- robosystems_client/models/create_checkout_request.py +2 -1
- robosystems_client/models/create_checkout_request_resource_config.py +4 -1
- robosystems_client/models/create_subgraph_request.py +5 -26
- robosystems_client/models/graph_subscription_response.py +21 -0
- robosystems_client/models/list_subgraphs_response.py +9 -0
- robosystems_client/models/{update_payment_method_request.py → portal_session_response.py} +12 -12
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/RECORD +23 -25
- robosystems_client/api/subscriptions/cancel_subscription.py +0 -193
- robosystems_client/models/cancellation_response.py +0 -76
- robosystems_client/models/update_payment_method_response.py +0 -74
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/licenses/LICENSE +0 -0
|
@@ -26,6 +26,8 @@ class GraphSubscriptionResponse:
|
|
|
26
26
|
current_period_end (Union[None, Unset, str]): Current billing period end
|
|
27
27
|
started_at (Union[None, Unset, str]): Subscription start date
|
|
28
28
|
canceled_at (Union[None, Unset, str]): Cancellation date
|
|
29
|
+
ends_at (Union[None, Unset, str]): Subscription end date (when access will be revoked, especially relevant for
|
|
30
|
+
cancelled subscriptions)
|
|
29
31
|
"""
|
|
30
32
|
|
|
31
33
|
id: str
|
|
@@ -40,6 +42,7 @@ class GraphSubscriptionResponse:
|
|
|
40
42
|
current_period_end: Union[None, Unset, str] = UNSET
|
|
41
43
|
started_at: Union[None, Unset, str] = UNSET
|
|
42
44
|
canceled_at: Union[None, Unset, str] = UNSET
|
|
45
|
+
ends_at: Union[None, Unset, str] = UNSET
|
|
43
46
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
44
47
|
|
|
45
48
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -83,6 +86,12 @@ class GraphSubscriptionResponse:
|
|
|
83
86
|
else:
|
|
84
87
|
canceled_at = self.canceled_at
|
|
85
88
|
|
|
89
|
+
ends_at: Union[None, Unset, str]
|
|
90
|
+
if isinstance(self.ends_at, Unset):
|
|
91
|
+
ends_at = UNSET
|
|
92
|
+
else:
|
|
93
|
+
ends_at = self.ends_at
|
|
94
|
+
|
|
86
95
|
field_dict: dict[str, Any] = {}
|
|
87
96
|
field_dict.update(self.additional_properties)
|
|
88
97
|
field_dict.update(
|
|
@@ -105,6 +114,8 @@ class GraphSubscriptionResponse:
|
|
|
105
114
|
field_dict["started_at"] = started_at
|
|
106
115
|
if canceled_at is not UNSET:
|
|
107
116
|
field_dict["canceled_at"] = canceled_at
|
|
117
|
+
if ends_at is not UNSET:
|
|
118
|
+
field_dict["ends_at"] = ends_at
|
|
108
119
|
|
|
109
120
|
return field_dict
|
|
110
121
|
|
|
@@ -165,6 +176,15 @@ class GraphSubscriptionResponse:
|
|
|
165
176
|
|
|
166
177
|
canceled_at = _parse_canceled_at(d.pop("canceled_at", UNSET))
|
|
167
178
|
|
|
179
|
+
def _parse_ends_at(data: object) -> Union[None, Unset, str]:
|
|
180
|
+
if data is None:
|
|
181
|
+
return data
|
|
182
|
+
if isinstance(data, Unset):
|
|
183
|
+
return data
|
|
184
|
+
return cast(Union[None, Unset, str], data)
|
|
185
|
+
|
|
186
|
+
ends_at = _parse_ends_at(d.pop("ends_at", UNSET))
|
|
187
|
+
|
|
168
188
|
graph_subscription_response = cls(
|
|
169
189
|
id=id,
|
|
170
190
|
resource_type=resource_type,
|
|
@@ -178,6 +198,7 @@ class GraphSubscriptionResponse:
|
|
|
178
198
|
current_period_end=current_period_end,
|
|
179
199
|
started_at=started_at,
|
|
180
200
|
canceled_at=canceled_at,
|
|
201
|
+
ends_at=ends_at,
|
|
181
202
|
)
|
|
182
203
|
|
|
183
204
|
graph_subscription_response.additional_properties = d
|
|
@@ -21,6 +21,8 @@ class ListSubgraphsResponse:
|
|
|
21
21
|
parent_graph_id (str): Parent graph identifier
|
|
22
22
|
parent_graph_name (str): Parent graph name
|
|
23
23
|
parent_graph_tier (str): Parent graph tier
|
|
24
|
+
subgraphs_enabled (bool): Whether subgraphs are enabled for this tier (requires Kuzu Large/XLarge or Neo4j
|
|
25
|
+
Enterprise XLarge)
|
|
24
26
|
subgraph_count (int): Total number of subgraphs
|
|
25
27
|
subgraphs (list['SubgraphSummary']): List of subgraphs
|
|
26
28
|
max_subgraphs (Union[None, Unset, int]): Maximum allowed subgraphs for this tier (None = unlimited)
|
|
@@ -30,6 +32,7 @@ class ListSubgraphsResponse:
|
|
|
30
32
|
parent_graph_id: str
|
|
31
33
|
parent_graph_name: str
|
|
32
34
|
parent_graph_tier: str
|
|
35
|
+
subgraphs_enabled: bool
|
|
33
36
|
subgraph_count: int
|
|
34
37
|
subgraphs: list["SubgraphSummary"]
|
|
35
38
|
max_subgraphs: Union[None, Unset, int] = UNSET
|
|
@@ -43,6 +46,8 @@ class ListSubgraphsResponse:
|
|
|
43
46
|
|
|
44
47
|
parent_graph_tier = self.parent_graph_tier
|
|
45
48
|
|
|
49
|
+
subgraphs_enabled = self.subgraphs_enabled
|
|
50
|
+
|
|
46
51
|
subgraph_count = self.subgraph_count
|
|
47
52
|
|
|
48
53
|
subgraphs = []
|
|
@@ -69,6 +74,7 @@ class ListSubgraphsResponse:
|
|
|
69
74
|
"parent_graph_id": parent_graph_id,
|
|
70
75
|
"parent_graph_name": parent_graph_name,
|
|
71
76
|
"parent_graph_tier": parent_graph_tier,
|
|
77
|
+
"subgraphs_enabled": subgraphs_enabled,
|
|
72
78
|
"subgraph_count": subgraph_count,
|
|
73
79
|
"subgraphs": subgraphs,
|
|
74
80
|
}
|
|
@@ -91,6 +97,8 @@ class ListSubgraphsResponse:
|
|
|
91
97
|
|
|
92
98
|
parent_graph_tier = d.pop("parent_graph_tier")
|
|
93
99
|
|
|
100
|
+
subgraphs_enabled = d.pop("subgraphs_enabled")
|
|
101
|
+
|
|
94
102
|
subgraph_count = d.pop("subgraph_count")
|
|
95
103
|
|
|
96
104
|
subgraphs = []
|
|
@@ -122,6 +130,7 @@ class ListSubgraphsResponse:
|
|
|
122
130
|
parent_graph_id=parent_graph_id,
|
|
123
131
|
parent_graph_name=parent_graph_name,
|
|
124
132
|
parent_graph_tier=parent_graph_tier,
|
|
133
|
+
subgraphs_enabled=subgraphs_enabled,
|
|
125
134
|
subgraph_count=subgraph_count,
|
|
126
135
|
subgraphs=subgraphs,
|
|
127
136
|
max_subgraphs=max_subgraphs,
|
|
@@ -4,28 +4,28 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="PortalSessionResponse")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
12
|
-
"""
|
|
11
|
+
class PortalSessionResponse:
|
|
12
|
+
"""Response for customer portal session creation.
|
|
13
13
|
|
|
14
14
|
Attributes:
|
|
15
|
-
|
|
15
|
+
portal_url (str): Stripe Customer Portal URL where user can manage payment methods
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
portal_url: str
|
|
19
19
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
20
|
|
|
21
21
|
def to_dict(self) -> dict[str, Any]:
|
|
22
|
-
|
|
22
|
+
portal_url = self.portal_url
|
|
23
23
|
|
|
24
24
|
field_dict: dict[str, Any] = {}
|
|
25
25
|
field_dict.update(self.additional_properties)
|
|
26
26
|
field_dict.update(
|
|
27
27
|
{
|
|
28
|
-
"
|
|
28
|
+
"portal_url": portal_url,
|
|
29
29
|
}
|
|
30
30
|
)
|
|
31
31
|
|
|
@@ -34,14 +34,14 @@ class UpdatePaymentMethodRequest:
|
|
|
34
34
|
@classmethod
|
|
35
35
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
36
36
|
d = dict(src_dict)
|
|
37
|
-
|
|
37
|
+
portal_url = d.pop("portal_url")
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
portal_session_response = cls(
|
|
40
|
+
portal_url=portal_url,
|
|
41
41
|
)
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
return
|
|
43
|
+
portal_session_response.additional_properties = d
|
|
44
|
+
return portal_session_response
|
|
45
45
|
|
|
46
46
|
@property
|
|
47
47
|
def additional_keys(self) -> list[str]:
|
|
@@ -6,11 +6,11 @@ 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=
|
|
9
|
+
robosystems_client/api/agent/auto_select_agent.py,sha256=6jiddkXrfm-JCc3E6CW0qVsSur0dfKkVeVlYttzfCqo,15096
|
|
10
10
|
robosystems_client/api/agent/batch_process_queries.py,sha256=t_CSO2XTbKAFOWR-Ac8ALxu6ZmCL7ZnYOeDvTonwu2k,6785
|
|
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=
|
|
11
|
+
robosystems_client/api/agent/execute_specific_agent.py,sha256=IqP08Vq-mpT_66i6XqRumVlGVfw4FzZzFJxdfyQkTSc,9608
|
|
12
|
+
robosystems_client/api/agent/get_agent_metadata.py,sha256=CsAMH3vzVXo7KJ95zlf1oT5juLmjIWahsEmFkpG_9Kk,5818
|
|
13
|
+
robosystems_client/api/agent/list_agents.py,sha256=ns_fWdfZxQlrD_IQHTIw5-tyqIxvmpnI1sXn6DgxoZo,6321
|
|
14
14
|
robosystems_client/api/agent/recommend_agent.py,sha256=WK1826OQeGbLGPQX-xTzSHHVBVKLf-QtQ9gVP0ZjK7c,6689
|
|
15
15
|
robosystems_client/api/auth/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
16
16
|
robosystems_client/api/auth/check_password_strength.py,sha256=4oVo056LpbSGHVH733tjRdZFt0uJ_fJR7IFz1nvxB0E,4673
|
|
@@ -38,13 +38,13 @@ robosystems_client/api/backup/restore_backup.py,sha256=ePw-qemDo4ouX5YV2xnDq089H
|
|
|
38
38
|
robosystems_client/api/billing/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
39
39
|
robosystems_client/api/billing/cancel_org_subscription.py,sha256=FB3ZUI4Z3PjTOFUy9oSgo8wYiFLKYCBi1gBmOrqXU0U,5188
|
|
40
40
|
robosystems_client/api/billing/create_checkout_session.py,sha256=2ynG-CzYn9n9AjoDgGff-D5pipApd8xiBbF07dRDGAk,7591
|
|
41
|
+
robosystems_client/api/billing/create_portal_session.py,sha256=guy2AvBlW5gFWJcBPEffAmN8_zl3EHW93xuxAaNwXRY,5934
|
|
41
42
|
robosystems_client/api/billing/get_checkout_status.py,sha256=YHHjkRWCNgF1s7JBMSUPywl-kn9VpFsY6SzUv7jKNnw,6686
|
|
42
43
|
robosystems_client/api/billing/get_org_billing_customer.py,sha256=2oj6UDG6zIYzxOhv6k2i-n17SitCQdPaiSdsO7VCTJs,5059
|
|
43
44
|
robosystems_client/api/billing/get_org_subscription.py,sha256=wfFMOAPXqL_W8MpkYsvR3bsnsxoJbOYyNmJ48VkRisE,4940
|
|
44
45
|
robosystems_client/api/billing/get_org_upcoming_invoice.py,sha256=-WmGrzKFHK58za9k7Ny4SsbsliB33PDsXWaN69EpytU,5397
|
|
45
46
|
robosystems_client/api/billing/list_org_invoices.py,sha256=Rv4MQO68R7j3_Jm4kzZKLAvzK80mMWjgddAdSSeHXuk,5604
|
|
46
47
|
robosystems_client/api/billing/list_org_subscriptions.py,sha256=G69LYSEzqHvkweTVbcSs1quPKy0XbeD3A2Lbg7i7I7c,5190
|
|
47
|
-
robosystems_client/api/billing/update_org_payment_method.py,sha256=1oo0ZKx2qlvTVpzmlrPr0XPIzZjphMKm9AB01La0Ryc,5718
|
|
48
48
|
robosystems_client/api/connections/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
49
49
|
robosystems_client/api/connections/create_connection.py,sha256=qBoFyjcaMR3Ug7ZqpF--m7hUWvGuu3XMlXGNTM40NdQ,7789
|
|
50
50
|
robosystems_client/api/connections/create_link_token.py,sha256=UAJeuZVi5N4ZCAiEyBa9GaQIvAJOIu_XsDtqwnv-l8U,6849
|
|
@@ -61,7 +61,7 @@ robosystems_client/api/credits_/check_credit_balance.py,sha256=0iPXBgsEQs_nWsZKw
|
|
|
61
61
|
robosystems_client/api/credits_/check_storage_limits.py,sha256=mo0PRFLmwcVGjdlLBq2r02QcoVrmcH8EozV2RcFesA8,6187
|
|
62
62
|
robosystems_client/api/credits_/get_credit_summary.py,sha256=-uvETiHAuFBDtzeIAc8KnRnf6irV74MnsKAWWOltZwo,6041
|
|
63
63
|
robosystems_client/api/credits_/get_storage_usage.py,sha256=oFlj7Ziiopk9vXRWAtHHDCy_vtvufCNoOrtD9mkFMR0,6770
|
|
64
|
-
robosystems_client/api/credits_/list_credit_transactions.py,sha256=
|
|
64
|
+
robosystems_client/api/credits_/list_credit_transactions.py,sha256=9Ny3tqu2nFTEa7jB8XHABxJjLL8dLPZu4ILRHcjMv9M,12322
|
|
65
65
|
robosystems_client/api/graph_health/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
66
66
|
robosystems_client/api/graph_health/get_database_health.py,sha256=aEUYDiUMQ-paxRrABb9xY3dgs_mW7loyTuz5Y4oX790,7318
|
|
67
67
|
robosystems_client/api/graph_info/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
@@ -106,13 +106,12 @@ robosystems_client/api/service_offerings/get_service_offerings.py,sha256=dxoReNz
|
|
|
106
106
|
robosystems_client/api/status/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
107
107
|
robosystems_client/api/status/get_service_status.py,sha256=eRAk7piCdm3R9A0MfmMardMEhFmzjydFo9SDLjAbQKA,3306
|
|
108
108
|
robosystems_client/api/subgraphs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
109
|
-
robosystems_client/api/subgraphs/create_subgraph.py,sha256=
|
|
110
|
-
robosystems_client/api/subgraphs/delete_subgraph.py,sha256=
|
|
109
|
+
robosystems_client/api/subgraphs/create_subgraph.py,sha256=o6TuSM4qlT30YkT2ucsA986Rmr0PeyGoJa5C4FxbuxA,6458
|
|
110
|
+
robosystems_client/api/subgraphs/delete_subgraph.py,sha256=eeISU_8o-xll04cA0ZX51gv6JxmvvBFId9D6gm8LVbg,8007
|
|
111
111
|
robosystems_client/api/subgraphs/get_subgraph_info.py,sha256=fW8mLkHKhsEIUIIT-ErITGs-9hy51h9S6gjoutrfBx0,6711
|
|
112
112
|
robosystems_client/api/subgraphs/get_subgraph_quota.py,sha256=Wk1BTXoe6HhRFgB75gtnnMecFSNqT7J_CVo1-QnJMRs,6512
|
|
113
113
|
robosystems_client/api/subgraphs/list_subgraphs.py,sha256=d9exlLZsr9_jqhwaGUMK8mKPSbiHGLCjTNQy7uc7HkE,5350
|
|
114
114
|
robosystems_client/api/subscriptions/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
115
|
-
robosystems_client/api/subscriptions/cancel_subscription.py,sha256=IuV-tJ_1cmv-6X7VAMjbximjmUZKX7BMXrtwexkBjVQ,5255
|
|
116
115
|
robosystems_client/api/subscriptions/create_repository_subscription.py,sha256=KOKk6_yyUGA6JtSzDiJHJ0zyaxCaQdC96LhhN-fB9ME,6598
|
|
117
116
|
robosystems_client/api/subscriptions/get_graph_subscription.py,sha256=3f7gykA-26Ed_6EXoiLGdKkScNhy95fuo9N1Sku4mZU,5680
|
|
118
117
|
robosystems_client/api/subscriptions/upgrade_subscription.py,sha256=b8415k-Gv59aFK1wlKN5NJZRmvcnwYXeXJUhfIVSeKo,5744
|
|
@@ -137,10 +136,11 @@ robosystems_client/api/user/update_user.py,sha256=nSr6ZRKD_Wu1I_QwHWd9GGH1TLYluM
|
|
|
137
136
|
robosystems_client/api/user/update_user_api_key.py,sha256=kIccWO3m6t7S6MNCQNndASq533nou-zhF9qg9sNrrZM,4688
|
|
138
137
|
robosystems_client/api/user/update_user_password.py,sha256=djtS4Aqc0B2efYlqYhAwLyaQ8R1sTIkSP5XPMas5va0,5015
|
|
139
138
|
robosystems_client/extensions/README.md,sha256=qfHFjdgA_J-zNXziNZE6M1MKJiwVkocBi01w_HhvzEk,16136
|
|
140
|
-
robosystems_client/extensions/__init__.py,sha256=
|
|
139
|
+
robosystems_client/extensions/__init__.py,sha256=XYec7cxFRVLtTAG25MCHtg8Th9m5FsBb5J7q-aediK4,5900
|
|
140
|
+
robosystems_client/extensions/agent_client.py,sha256=Db2C4hrakVsf6ScnBcNk6rte3Kwn4cQBEHsR_joWMTs,17750
|
|
141
141
|
robosystems_client/extensions/auth_integration.py,sha256=ABOJ8aVjfHehNGNzim1iR9-Cdh7Mr22ce-WgWWeqJt0,6535
|
|
142
142
|
robosystems_client/extensions/dataframe_utils.py,sha256=gK1bgkVqBF0TvWVdGQvqWrt-ur_Rw11j8uNtMoulLWE,12312
|
|
143
|
-
robosystems_client/extensions/extensions.py,sha256=
|
|
143
|
+
robosystems_client/extensions/extensions.py,sha256=QkKIc6cU7uJ5unvH5bdrvq8RuAraqGHh7eY7wpwMVy8,6360
|
|
144
144
|
robosystems_client/extensions/graph_client.py,sha256=OBi0xj0SLIRKLeSu_DiGt2ZakCmhggvNrMP3jdRfEgQ,10326
|
|
145
145
|
robosystems_client/extensions/operation_client.py,sha256=B1qju-wWQrnrnVJixKGgsA_KEInviwJwdlJxzm_i7P0,13359
|
|
146
146
|
robosystems_client/extensions/query_client.py,sha256=cX3e8EBoTeg4Lwm6edJYRULM2UmGpfqNX3f48S8TQbE,19430
|
|
@@ -153,7 +153,7 @@ robosystems_client/extensions/tests/test_dataframe_utils.py,sha256=g184mdEMSkFt6
|
|
|
153
153
|
robosystems_client/extensions/tests/test_integration.py,sha256=DszEH9-CJ-d5KB2NNNY9BZMT8f3A_Z-MLXYW5WfVeRk,15446
|
|
154
154
|
robosystems_client/extensions/tests/test_token_utils.py,sha256=CsrpW771pLRrdQoM91oJ9_B33SB3YTno4_OPog6mIgo,8424
|
|
155
155
|
robosystems_client/extensions/tests/test_unit.py,sha256=REnfMGpgH-FS-n860-3qXEUqAxZ7zbci-nIDPYuB7Tw,16712
|
|
156
|
-
robosystems_client/models/__init__.py,sha256=
|
|
156
|
+
robosystems_client/models/__init__.py,sha256=7CoZyapgm_JmRWoLLepRpvpt0qFGaXvbEg4XQak-27I,21772
|
|
157
157
|
robosystems_client/models/account_info.py,sha256=rcENAioMA3olA3Sks5raIqeODqRgrmFuiFhwzLunrGI,2054
|
|
158
158
|
robosystems_client/models/agent_list_response.py,sha256=68PkLJ3goUZlm8WZ4HOjlWLZrPYKwJQ6PTPm2ZNRmBM,1873
|
|
159
159
|
robosystems_client/models/agent_list_response_agents.py,sha256=RQMc6dTphBjFeLD4pt2RhQyd1AedF5GW5ujHYdyZMCg,1987
|
|
@@ -193,10 +193,9 @@ robosystems_client/models/billing_customer.py,sha256=TB6zvV0IyKtgpSEHKC1cpbUyaWY
|
|
|
193
193
|
robosystems_client/models/bulk_ingest_request.py,sha256=eRHk_mG5Zfok66-sPlgx7dKfs-L_76P8PaBOrf7dHr0,1306
|
|
194
194
|
robosystems_client/models/bulk_ingest_response.py,sha256=jR-Yxs5TWaMwM0auN4BrzvU7jXVF4pFlbbOzWCErjag,3899
|
|
195
195
|
robosystems_client/models/cancel_operation_response_canceloperation.py,sha256=baSI2jz9ormrpuRCI1cq0lnZ9BAPM0N3SuFgf_JhKv8,1271
|
|
196
|
-
robosystems_client/models/cancellation_response.py,sha256=2URj3ukcdjh5UvPpnSauP_CLz-9TLM4Il20MYBzzfTw,1955
|
|
197
196
|
robosystems_client/models/check_credit_balance_response_checkcreditbalance.py,sha256=izJJIZJaZkfJY7pqYg7nBPEv9IgRpJ5WSw6hu7VUZEk,1304
|
|
198
197
|
robosystems_client/models/checkout_response.py,sha256=NxmvkrjQrSGzhf3qCUILxw6KLezt_pS4TSGo8IyfRpM,4162
|
|
199
|
-
robosystems_client/models/checkout_status_response.py,sha256=
|
|
198
|
+
robosystems_client/models/checkout_status_response.py,sha256=_XDA5ahmEwYyQJ7YDs253fp5U6g_RKkfBkk6K3F5osA,3877
|
|
200
199
|
robosystems_client/models/connection_options_response.py,sha256=J-VjmGYJn_BOhuExZBlJIHXedyf_CXcoRf2XfklOnrk,2309
|
|
201
200
|
robosystems_client/models/connection_provider_info.py,sha256=Im0k56k1USElC9G5m2g7elOJ5CHZ08lDOLg5vOmx_AA,6600
|
|
202
201
|
robosystems_client/models/connection_provider_info_auth_type.py,sha256=cSRUkd90osfbj2MP5Hl8dinEoIXBPrCOIFGYYrk-4D0,201
|
|
@@ -207,14 +206,14 @@ robosystems_client/models/connection_response_provider.py,sha256=th7b2inab-PZWaQ
|
|
|
207
206
|
robosystems_client/models/copy_operation_limits.py,sha256=S0j8lPVghl-ih5xI-oCHK1hBRZf7SeE7FiZEMjuXzEA,3059
|
|
208
207
|
robosystems_client/models/create_api_key_request.py,sha256=aP-X8CtffeRUXDqG-WzM4gn8_DOwPt5CURmGYIbjgqY,2829
|
|
209
208
|
robosystems_client/models/create_api_key_response.py,sha256=9cqlZDogqxdSXxxHT6PnfClTP-Q35CvfQjNIvPEe1Pw,1797
|
|
210
|
-
robosystems_client/models/create_checkout_request.py,sha256=
|
|
211
|
-
robosystems_client/models/create_checkout_request_resource_config.py,sha256
|
|
209
|
+
robosystems_client/models/create_checkout_request.py,sha256=NoiSMuFMG24iMipMTwy34PnYyEt1x9fNauEVatIB1-s,2552
|
|
210
|
+
robosystems_client/models/create_checkout_request_resource_config.py,sha256=-gYfuQmp61mGggvvMZe4t1YGl9CDuIN0_O49ONbz-qs,1415
|
|
212
211
|
robosystems_client/models/create_connection_request.py,sha256=B9riNF1QK1P3RB680lFAJGsZtYbPHVc14u1TBnIv0QQ,5948
|
|
213
212
|
robosystems_client/models/create_connection_request_provider.py,sha256=TBZm3ApK31i1jit4WUxqtFtJq-LYKqXeVAHJIJh9Slw,190
|
|
214
213
|
robosystems_client/models/create_graph_request.py,sha256=THs5EEB8-cpfkyDUu0XzwuWMnScboE_ir3vrQ44mPJY,6174
|
|
215
214
|
robosystems_client/models/create_org_request.py,sha256=Nivb6_9yP5v0_3Jo4mAm1aQusW98FPNIneVuzNbRGKk,1939
|
|
216
215
|
robosystems_client/models/create_repository_subscription_request.py,sha256=zDv9qNOG2K7t0j6zE85vrQ0F_QzHryRMr3dxZpLQIZM,1576
|
|
217
|
-
robosystems_client/models/create_subgraph_request.py,sha256=
|
|
216
|
+
robosystems_client/models/create_subgraph_request.py,sha256=Yg-xQQqIV6ihuWCAJHImcZnOLTGrnkZC7JdspcSNg0s,5158
|
|
218
217
|
robosystems_client/models/create_subgraph_request_metadata_type_0.py,sha256=dqVIzDSjIeTsKLCC7pmJAik2eJPIyi_6uTHzkspU37M,1257
|
|
219
218
|
robosystems_client/models/credit_limits.py,sha256=_JEbHjXndOlnkwC43Xl8ZGGXpEX7MWvfbT96e8sC4tY,2494
|
|
220
219
|
robosystems_client/models/credit_summary.py,sha256=nN_3hkXoOWhr6VzYGn6SvgWiZ-384K4y_xcV2i4-hAA,3527
|
|
@@ -260,7 +259,7 @@ robosystems_client/models/graph_metrics_response_estimated_size.py,sha256=Dfe4zb
|
|
|
260
259
|
robosystems_client/models/graph_metrics_response_health_status.py,sha256=IpwCxU4V5fHNP-2sVQW4uV9iAl_b0KA4ECEsEggfeb4,1270
|
|
261
260
|
robosystems_client/models/graph_metrics_response_node_counts.py,sha256=slKDmoKGV5HfUs8CuAvgYyDS-6VkyBjZ3IUJ2Dl5Acw,1253
|
|
262
261
|
robosystems_client/models/graph_metrics_response_relationship_counts.py,sha256=-MPyWBhmOX3w-2Xj5d0ED42ewyWzS9r0ruE6mgdZ98I,1300
|
|
263
|
-
robosystems_client/models/graph_subscription_response.py,sha256=
|
|
262
|
+
robosystems_client/models/graph_subscription_response.py,sha256=Q3J4j8LcpArP25JRFSVkotrg6aFlrJGGVsqz3egFcag,6600
|
|
264
263
|
robosystems_client/models/graph_subscription_tier.py,sha256=uaG2qDZfN7bh_0o5zttg8lkYv-V0ft7RdWGaXsmfS3U,6803
|
|
265
264
|
robosystems_client/models/graph_subscriptions.py,sha256=NNJl4-wxBPdE3109ybjRZgUGKc3KHNOny3MNwo4q-kU,3105
|
|
266
265
|
robosystems_client/models/graph_tier_backup.py,sha256=cwHk3S3Zcu_5owIRzP2c0wzE58Q84vfDoS0719SclcE,2145
|
|
@@ -283,7 +282,7 @@ robosystems_client/models/link_token_request_options_type_0.py,sha256=WjW-JluLY0
|
|
|
283
282
|
robosystems_client/models/link_token_request_provider_type_0.py,sha256=N2wRX99ghudXH6qC8HX9MUgUrwFRCzasoQSg74UCHZo,188
|
|
284
283
|
robosystems_client/models/list_connections_provider_type_0.py,sha256=Mmteiaom76sOnidak7Y1zY4UemEbnM_3BnfbkFUUVv0,187
|
|
285
284
|
robosystems_client/models/list_org_graphs_response_200_item.py,sha256=Njoy62MQLAQivfldzi9s0oXzQxn3e9vsAWlfSmaUc2Q,1227
|
|
286
|
-
robosystems_client/models/list_subgraphs_response.py,sha256=
|
|
285
|
+
robosystems_client/models/list_subgraphs_response.py,sha256=lYdhU9nQIqpyMZvvlokbE0hXW_Ye8FhZ7es_A5NGsMY,4857
|
|
287
286
|
robosystems_client/models/list_table_files_response.py,sha256=3ozQqPez4EFBm2T1mrPu0dCpGck0zuthTdg8wmeeSms,2654
|
|
288
287
|
robosystems_client/models/login_request.py,sha256=bWvQYg7jPbtE__tVOqPKqGYx7Yzex2hPfOm2fJZjvLU,1543
|
|
289
288
|
robosystems_client/models/logout_user_response_logoutuser.py,sha256=UGr9RnAP7Db-T5JLbH6R6CZjZaENzIX6iW31nxBAIBI,1221
|
|
@@ -328,6 +327,7 @@ robosystems_client/models/performance_insights_slow_queries_item.py,sha256=b6KqR
|
|
|
328
327
|
robosystems_client/models/plaid_connection_config.py,sha256=ddmVo8hWnXVbJF3kfHpSIGa6CaDqvWbX5a2al39T7JE,6662
|
|
329
328
|
robosystems_client/models/plaid_connection_config_accounts_type_0_item.py,sha256=udIb0Qbzilz_ko6_D8w9NC8hbRqOslg92zbB24wYEvs,1280
|
|
330
329
|
robosystems_client/models/plaid_connection_config_institution_type_0.py,sha256=bNd_czT5nU9yTWcKJih3ft71IGL-DTgT5ot1WeitrZg,1272
|
|
330
|
+
robosystems_client/models/portal_session_response.py,sha256=YNZ_LVxJ9CS3LNK3DBKrPKzPOejgCSC9di6O6Kv7Zl0,1538
|
|
331
331
|
robosystems_client/models/query_limits.py,sha256=GtLiyNSpkjoqDyEDs3VouLEm9Sg9b6kyIXsiO0IvDEI,2318
|
|
332
332
|
robosystems_client/models/quick_books_connection_config.py,sha256=ohhOvNp3k8XVz-8-xGr1NygPgDdU3ELqJVteo0iTe9I,2664
|
|
333
333
|
robosystems_client/models/rate_limits.py,sha256=vnsqixRLz4T5SRfWN9ZYyn8SOiH8WJ2qtv83QY16ivU,2021
|
|
@@ -385,14 +385,12 @@ robosystems_client/models/update_file_status_response_updatefilestatus.py,sha256
|
|
|
385
385
|
robosystems_client/models/update_member_role_request.py,sha256=4C7XrnYvtCgxnFXIVjz1c3xRlTGHwARZECUBhv1uf-M,1476
|
|
386
386
|
robosystems_client/models/update_org_request.py,sha256=UTJO_qIFkMxLgiNvalcj46E4FkgaQySkP8Jq88nIF64,2747
|
|
387
387
|
robosystems_client/models/update_password_request.py,sha256=3YwCzOJwE3WYpv05JwVBpwL71GCsj1fMLngxuEsXtpE,2013
|
|
388
|
-
robosystems_client/models/update_payment_method_request.py,sha256=7NGlBKoScTLLWnnq4wjsokXJLMdJ1RA34I6-bXcPh5E,1602
|
|
389
|
-
robosystems_client/models/update_payment_method_response.py,sha256=vzIBMD_XU78UrKa3rfT7uKCJFdYvuruTTzKe53bIvis,1925
|
|
390
388
|
robosystems_client/models/update_user_request.py,sha256=DLN_cfsk24jG34v66YedfJ1N26wvueoXVTTi8Bd4mcQ,2420
|
|
391
389
|
robosystems_client/models/upgrade_subscription_request.py,sha256=Ph-Wu1pA6zOEi6jSOuqrQRJ3xImOVy-T2g-xLHrYaic,1544
|
|
392
390
|
robosystems_client/models/user_graphs_response.py,sha256=k4zDipn-9HqwiJHUq8Si1XSemCDJv_t9SfTtJxc6w_k,2648
|
|
393
391
|
robosystems_client/models/user_response.py,sha256=uMYsvPKLo5YUwsT-PV8Tu5qrFG81X8-ODBllFyX2C6E,3650
|
|
394
392
|
robosystems_client/models/validation_error.py,sha256=R77OuQG2nJ3WDFfY--xbEhg6x1D7gAAp_1UdnG8Ka2A,1949
|
|
395
|
-
robosystems_client-0.2.
|
|
396
|
-
robosystems_client-0.2.
|
|
397
|
-
robosystems_client-0.2.
|
|
398
|
-
robosystems_client-0.2.
|
|
393
|
+
robosystems_client-0.2.14.dist-info/METADATA,sha256=FsGJES_7A21CleuLcaGwsfpwf4qa-8oUkhivRrqYVQc,3904
|
|
394
|
+
robosystems_client-0.2.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
395
|
+
robosystems_client-0.2.14.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
|
|
396
|
+
robosystems_client-0.2.14.dist-info/RECORD,,
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Optional, Union, cast
|
|
3
|
-
|
|
4
|
-
import httpx
|
|
5
|
-
|
|
6
|
-
from ... import errors
|
|
7
|
-
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.cancellation_response import CancellationResponse
|
|
9
|
-
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
-
from ...types import Response
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def _get_kwargs(
|
|
14
|
-
graph_id: str,
|
|
15
|
-
) -> dict[str, Any]:
|
|
16
|
-
_kwargs: dict[str, Any] = {
|
|
17
|
-
"method": "delete",
|
|
18
|
-
"url": f"/v1/graphs/{graph_id}/subscriptions",
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return _kwargs
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def _parse_response(
|
|
25
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
26
|
-
) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
27
|
-
if response.status_code == 200:
|
|
28
|
-
response_200 = CancellationResponse.from_dict(response.json())
|
|
29
|
-
|
|
30
|
-
return response_200
|
|
31
|
-
|
|
32
|
-
if response.status_code == 400:
|
|
33
|
-
response_400 = cast(Any, None)
|
|
34
|
-
return response_400
|
|
35
|
-
|
|
36
|
-
if response.status_code == 404:
|
|
37
|
-
response_404 = cast(Any, None)
|
|
38
|
-
return response_404
|
|
39
|
-
|
|
40
|
-
if response.status_code == 422:
|
|
41
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
|
-
|
|
43
|
-
return response_422
|
|
44
|
-
|
|
45
|
-
if client.raise_on_unexpected_status:
|
|
46
|
-
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
47
|
-
else:
|
|
48
|
-
return None
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
def _build_response(
|
|
52
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
53
|
-
) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
54
|
-
return Response(
|
|
55
|
-
status_code=HTTPStatus(response.status_code),
|
|
56
|
-
content=response.content,
|
|
57
|
-
headers=response.headers,
|
|
58
|
-
parsed=_parse_response(client=client, response=response),
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
def sync_detailed(
|
|
63
|
-
graph_id: str,
|
|
64
|
-
*,
|
|
65
|
-
client: AuthenticatedClient,
|
|
66
|
-
) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
67
|
-
"""Cancel Subscription
|
|
68
|
-
|
|
69
|
-
Cancel a subscription.
|
|
70
|
-
|
|
71
|
-
For shared repositories: Cancels the user's personal subscription
|
|
72
|
-
For user graphs: Not allowed - delete the graph instead
|
|
73
|
-
|
|
74
|
-
The subscription will be marked as canceled and will end at the current period end date.
|
|
75
|
-
|
|
76
|
-
Args:
|
|
77
|
-
graph_id (str): Graph ID or repository name
|
|
78
|
-
|
|
79
|
-
Raises:
|
|
80
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
81
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
82
|
-
|
|
83
|
-
Returns:
|
|
84
|
-
Response[Union[Any, CancellationResponse, HTTPValidationError]]
|
|
85
|
-
"""
|
|
86
|
-
|
|
87
|
-
kwargs = _get_kwargs(
|
|
88
|
-
graph_id=graph_id,
|
|
89
|
-
)
|
|
90
|
-
|
|
91
|
-
response = client.get_httpx_client().request(
|
|
92
|
-
**kwargs,
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
return _build_response(client=client, response=response)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
def sync(
|
|
99
|
-
graph_id: str,
|
|
100
|
-
*,
|
|
101
|
-
client: AuthenticatedClient,
|
|
102
|
-
) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
103
|
-
"""Cancel Subscription
|
|
104
|
-
|
|
105
|
-
Cancel a subscription.
|
|
106
|
-
|
|
107
|
-
For shared repositories: Cancels the user's personal subscription
|
|
108
|
-
For user graphs: Not allowed - delete the graph instead
|
|
109
|
-
|
|
110
|
-
The subscription will be marked as canceled and will end at the current period end date.
|
|
111
|
-
|
|
112
|
-
Args:
|
|
113
|
-
graph_id (str): Graph ID or repository name
|
|
114
|
-
|
|
115
|
-
Raises:
|
|
116
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
117
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
118
|
-
|
|
119
|
-
Returns:
|
|
120
|
-
Union[Any, CancellationResponse, HTTPValidationError]
|
|
121
|
-
"""
|
|
122
|
-
|
|
123
|
-
return sync_detailed(
|
|
124
|
-
graph_id=graph_id,
|
|
125
|
-
client=client,
|
|
126
|
-
).parsed
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
async def asyncio_detailed(
|
|
130
|
-
graph_id: str,
|
|
131
|
-
*,
|
|
132
|
-
client: AuthenticatedClient,
|
|
133
|
-
) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
134
|
-
"""Cancel Subscription
|
|
135
|
-
|
|
136
|
-
Cancel a subscription.
|
|
137
|
-
|
|
138
|
-
For shared repositories: Cancels the user's personal subscription
|
|
139
|
-
For user graphs: Not allowed - delete the graph instead
|
|
140
|
-
|
|
141
|
-
The subscription will be marked as canceled and will end at the current period end date.
|
|
142
|
-
|
|
143
|
-
Args:
|
|
144
|
-
graph_id (str): Graph ID or repository name
|
|
145
|
-
|
|
146
|
-
Raises:
|
|
147
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
148
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
149
|
-
|
|
150
|
-
Returns:
|
|
151
|
-
Response[Union[Any, CancellationResponse, HTTPValidationError]]
|
|
152
|
-
"""
|
|
153
|
-
|
|
154
|
-
kwargs = _get_kwargs(
|
|
155
|
-
graph_id=graph_id,
|
|
156
|
-
)
|
|
157
|
-
|
|
158
|
-
response = await client.get_async_httpx_client().request(**kwargs)
|
|
159
|
-
|
|
160
|
-
return _build_response(client=client, response=response)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
async def asyncio(
|
|
164
|
-
graph_id: str,
|
|
165
|
-
*,
|
|
166
|
-
client: AuthenticatedClient,
|
|
167
|
-
) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
168
|
-
"""Cancel Subscription
|
|
169
|
-
|
|
170
|
-
Cancel a subscription.
|
|
171
|
-
|
|
172
|
-
For shared repositories: Cancels the user's personal subscription
|
|
173
|
-
For user graphs: Not allowed - delete the graph instead
|
|
174
|
-
|
|
175
|
-
The subscription will be marked as canceled and will end at the current period end date.
|
|
176
|
-
|
|
177
|
-
Args:
|
|
178
|
-
graph_id (str): Graph ID or repository name
|
|
179
|
-
|
|
180
|
-
Raises:
|
|
181
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
182
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
183
|
-
|
|
184
|
-
Returns:
|
|
185
|
-
Union[Any, CancellationResponse, HTTPValidationError]
|
|
186
|
-
"""
|
|
187
|
-
|
|
188
|
-
return (
|
|
189
|
-
await asyncio_detailed(
|
|
190
|
-
graph_id=graph_id,
|
|
191
|
-
client=client,
|
|
192
|
-
)
|
|
193
|
-
).parsed
|
|
@@ -1,76 +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="CancellationResponse")
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@_attrs_define
|
|
11
|
-
class CancellationResponse:
|
|
12
|
-
"""Response for subscription cancellation.
|
|
13
|
-
|
|
14
|
-
Attributes:
|
|
15
|
-
message (str): Cancellation confirmation message
|
|
16
|
-
subscription_id (str): ID of the cancelled subscription
|
|
17
|
-
cancelled_at (str): Cancellation timestamp (ISO format)
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
message: str
|
|
21
|
-
subscription_id: str
|
|
22
|
-
cancelled_at: str
|
|
23
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
-
|
|
25
|
-
def to_dict(self) -> dict[str, Any]:
|
|
26
|
-
message = self.message
|
|
27
|
-
|
|
28
|
-
subscription_id = self.subscription_id
|
|
29
|
-
|
|
30
|
-
cancelled_at = self.cancelled_at
|
|
31
|
-
|
|
32
|
-
field_dict: dict[str, Any] = {}
|
|
33
|
-
field_dict.update(self.additional_properties)
|
|
34
|
-
field_dict.update(
|
|
35
|
-
{
|
|
36
|
-
"message": message,
|
|
37
|
-
"subscription_id": subscription_id,
|
|
38
|
-
"cancelled_at": cancelled_at,
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
return field_dict
|
|
43
|
-
|
|
44
|
-
@classmethod
|
|
45
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
46
|
-
d = dict(src_dict)
|
|
47
|
-
message = d.pop("message")
|
|
48
|
-
|
|
49
|
-
subscription_id = d.pop("subscription_id")
|
|
50
|
-
|
|
51
|
-
cancelled_at = d.pop("cancelled_at")
|
|
52
|
-
|
|
53
|
-
cancellation_response = cls(
|
|
54
|
-
message=message,
|
|
55
|
-
subscription_id=subscription_id,
|
|
56
|
-
cancelled_at=cancelled_at,
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
cancellation_response.additional_properties = d
|
|
60
|
-
return cancellation_response
|
|
61
|
-
|
|
62
|
-
@property
|
|
63
|
-
def additional_keys(self) -> list[str]:
|
|
64
|
-
return list(self.additional_properties.keys())
|
|
65
|
-
|
|
66
|
-
def __getitem__(self, key: str) -> Any:
|
|
67
|
-
return self.additional_properties[key]
|
|
68
|
-
|
|
69
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
70
|
-
self.additional_properties[key] = value
|
|
71
|
-
|
|
72
|
-
def __delitem__(self, key: str) -> None:
|
|
73
|
-
del self.additional_properties[key]
|
|
74
|
-
|
|
75
|
-
def __contains__(self, key: str) -> bool:
|
|
76
|
-
return key in self.additional_properties
|