robosystems-client 0.2.6__py3-none-any.whl → 0.2.8__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/graphs/get_available_graph_tiers.py +13 -11
- robosystems_client/api/service_offerings/get_service_offerings.py +13 -11
- robosystems_client/extensions/query_client.py +81 -20
- robosystems_client/models/__init__.py +44 -0
- robosystems_client/models/available_graph_tiers_response.py +74 -0
- robosystems_client/models/graph_subscription_tier.py +220 -0
- robosystems_client/models/graph_subscriptions.py +100 -0
- robosystems_client/models/graph_tier_backup.py +76 -0
- robosystems_client/models/graph_tier_copy_operations.py +92 -0
- robosystems_client/models/graph_tier_info.py +192 -0
- robosystems_client/models/graph_tier_instance.py +76 -0
- robosystems_client/models/graph_tier_limits.py +106 -0
- robosystems_client/models/offering_repository_plan.py +148 -0
- robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +61 -0
- robosystems_client/models/operation_costs.py +100 -0
- robosystems_client/models/operation_costs_ai_operations.py +44 -0
- robosystems_client/models/operation_costs_token_pricing.py +59 -0
- robosystems_client/models/repository_info.py +114 -0
- robosystems_client/models/repository_subscriptions.py +90 -0
- robosystems_client/models/service_offering_summary.py +84 -0
- robosystems_client/models/service_offerings_response.py +98 -0
- robosystems_client/models/storage_info.py +76 -0
- robosystems_client/models/storage_info_included_per_tier.py +44 -0
- robosystems_client/models/storage_info_overage_pricing.py +44 -0
- robosystems_client/models/token_pricing.py +68 -0
- {robosystems_client-0.2.6.dist-info → robosystems_client-0.2.8.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.6.dist-info → robosystems_client-0.2.8.dist-info}/RECORD +29 -8
- {robosystems_client-0.2.6.dist-info → robosystems_client-0.2.8.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.6.dist-info → robosystems_client-0.2.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.repository_info import RepositoryInfo
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="RepositorySubscriptions")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class RepositorySubscriptions:
|
|
16
|
+
"""Repository subscription offerings.
|
|
17
|
+
|
|
18
|
+
Attributes:
|
|
19
|
+
description (str): Description of repository subscriptions
|
|
20
|
+
repositories (list['RepositoryInfo']): Available repositories
|
|
21
|
+
notes (list[str]): Important notes
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
description: str
|
|
25
|
+
repositories: list["RepositoryInfo"]
|
|
26
|
+
notes: list[str]
|
|
27
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
28
|
+
|
|
29
|
+
def to_dict(self) -> dict[str, Any]:
|
|
30
|
+
description = self.description
|
|
31
|
+
|
|
32
|
+
repositories = []
|
|
33
|
+
for repositories_item_data in self.repositories:
|
|
34
|
+
repositories_item = repositories_item_data.to_dict()
|
|
35
|
+
repositories.append(repositories_item)
|
|
36
|
+
|
|
37
|
+
notes = self.notes
|
|
38
|
+
|
|
39
|
+
field_dict: dict[str, Any] = {}
|
|
40
|
+
field_dict.update(self.additional_properties)
|
|
41
|
+
field_dict.update(
|
|
42
|
+
{
|
|
43
|
+
"description": description,
|
|
44
|
+
"repositories": repositories,
|
|
45
|
+
"notes": notes,
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
return field_dict
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
53
|
+
from ..models.repository_info import RepositoryInfo
|
|
54
|
+
|
|
55
|
+
d = dict(src_dict)
|
|
56
|
+
description = d.pop("description")
|
|
57
|
+
|
|
58
|
+
repositories = []
|
|
59
|
+
_repositories = d.pop("repositories")
|
|
60
|
+
for repositories_item_data in _repositories:
|
|
61
|
+
repositories_item = RepositoryInfo.from_dict(repositories_item_data)
|
|
62
|
+
|
|
63
|
+
repositories.append(repositories_item)
|
|
64
|
+
|
|
65
|
+
notes = cast(list[str], d.pop("notes"))
|
|
66
|
+
|
|
67
|
+
repository_subscriptions = cls(
|
|
68
|
+
description=description,
|
|
69
|
+
repositories=repositories,
|
|
70
|
+
notes=notes,
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
repository_subscriptions.additional_properties = d
|
|
74
|
+
return repository_subscriptions
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def additional_keys(self) -> list[str]:
|
|
78
|
+
return list(self.additional_properties.keys())
|
|
79
|
+
|
|
80
|
+
def __getitem__(self, key: str) -> Any:
|
|
81
|
+
return self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
84
|
+
self.additional_properties[key] = value
|
|
85
|
+
|
|
86
|
+
def __delitem__(self, key: str) -> None:
|
|
87
|
+
del self.additional_properties[key]
|
|
88
|
+
|
|
89
|
+
def __contains__(self, key: str) -> bool:
|
|
90
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,84 @@
|
|
|
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="ServiceOfferingSummary")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ServiceOfferingSummary:
|
|
12
|
+
"""Summary of service offerings.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
total_graph_tiers (int): Total number of graph tiers
|
|
16
|
+
total_repositories (int): Total number of repositories
|
|
17
|
+
enabled_repositories (int): Number of enabled repositories
|
|
18
|
+
coming_soon_repositories (int): Number of coming soon repositories
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
total_graph_tiers: int
|
|
22
|
+
total_repositories: int
|
|
23
|
+
enabled_repositories: int
|
|
24
|
+
coming_soon_repositories: int
|
|
25
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> dict[str, Any]:
|
|
28
|
+
total_graph_tiers = self.total_graph_tiers
|
|
29
|
+
|
|
30
|
+
total_repositories = self.total_repositories
|
|
31
|
+
|
|
32
|
+
enabled_repositories = self.enabled_repositories
|
|
33
|
+
|
|
34
|
+
coming_soon_repositories = self.coming_soon_repositories
|
|
35
|
+
|
|
36
|
+
field_dict: dict[str, Any] = {}
|
|
37
|
+
field_dict.update(self.additional_properties)
|
|
38
|
+
field_dict.update(
|
|
39
|
+
{
|
|
40
|
+
"total_graph_tiers": total_graph_tiers,
|
|
41
|
+
"total_repositories": total_repositories,
|
|
42
|
+
"enabled_repositories": enabled_repositories,
|
|
43
|
+
"coming_soon_repositories": coming_soon_repositories,
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
return field_dict
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
51
|
+
d = dict(src_dict)
|
|
52
|
+
total_graph_tiers = d.pop("total_graph_tiers")
|
|
53
|
+
|
|
54
|
+
total_repositories = d.pop("total_repositories")
|
|
55
|
+
|
|
56
|
+
enabled_repositories = d.pop("enabled_repositories")
|
|
57
|
+
|
|
58
|
+
coming_soon_repositories = d.pop("coming_soon_repositories")
|
|
59
|
+
|
|
60
|
+
service_offering_summary = cls(
|
|
61
|
+
total_graph_tiers=total_graph_tiers,
|
|
62
|
+
total_repositories=total_repositories,
|
|
63
|
+
enabled_repositories=enabled_repositories,
|
|
64
|
+
coming_soon_repositories=coming_soon_repositories,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
service_offering_summary.additional_properties = d
|
|
68
|
+
return service_offering_summary
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def additional_keys(self) -> list[str]:
|
|
72
|
+
return list(self.additional_properties.keys())
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
return self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
78
|
+
self.additional_properties[key] = value
|
|
79
|
+
|
|
80
|
+
def __delitem__(self, key: str) -> None:
|
|
81
|
+
del self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __contains__(self, key: str) -> bool:
|
|
84
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.graph_subscriptions import GraphSubscriptions
|
|
9
|
+
from ..models.operation_costs import OperationCosts
|
|
10
|
+
from ..models.repository_subscriptions import RepositorySubscriptions
|
|
11
|
+
from ..models.service_offering_summary import ServiceOfferingSummary
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
T = TypeVar("T", bound="ServiceOfferingsResponse")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@_attrs_define
|
|
18
|
+
class ServiceOfferingsResponse:
|
|
19
|
+
"""Complete service offerings response.
|
|
20
|
+
|
|
21
|
+
Attributes:
|
|
22
|
+
graph_subscriptions (GraphSubscriptions): Graph subscription offerings.
|
|
23
|
+
repository_subscriptions (RepositorySubscriptions): Repository subscription offerings.
|
|
24
|
+
operation_costs (OperationCosts): Operation cost information.
|
|
25
|
+
summary (ServiceOfferingSummary): Summary of service offerings.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
graph_subscriptions: "GraphSubscriptions"
|
|
29
|
+
repository_subscriptions: "RepositorySubscriptions"
|
|
30
|
+
operation_costs: "OperationCosts"
|
|
31
|
+
summary: "ServiceOfferingSummary"
|
|
32
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
|
+
|
|
34
|
+
def to_dict(self) -> dict[str, Any]:
|
|
35
|
+
graph_subscriptions = self.graph_subscriptions.to_dict()
|
|
36
|
+
|
|
37
|
+
repository_subscriptions = self.repository_subscriptions.to_dict()
|
|
38
|
+
|
|
39
|
+
operation_costs = self.operation_costs.to_dict()
|
|
40
|
+
|
|
41
|
+
summary = self.summary.to_dict()
|
|
42
|
+
|
|
43
|
+
field_dict: dict[str, Any] = {}
|
|
44
|
+
field_dict.update(self.additional_properties)
|
|
45
|
+
field_dict.update(
|
|
46
|
+
{
|
|
47
|
+
"graph_subscriptions": graph_subscriptions,
|
|
48
|
+
"repository_subscriptions": repository_subscriptions,
|
|
49
|
+
"operation_costs": operation_costs,
|
|
50
|
+
"summary": summary,
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
return field_dict
|
|
55
|
+
|
|
56
|
+
@classmethod
|
|
57
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
58
|
+
from ..models.graph_subscriptions import GraphSubscriptions
|
|
59
|
+
from ..models.operation_costs import OperationCosts
|
|
60
|
+
from ..models.repository_subscriptions import RepositorySubscriptions
|
|
61
|
+
from ..models.service_offering_summary import ServiceOfferingSummary
|
|
62
|
+
|
|
63
|
+
d = dict(src_dict)
|
|
64
|
+
graph_subscriptions = GraphSubscriptions.from_dict(d.pop("graph_subscriptions"))
|
|
65
|
+
|
|
66
|
+
repository_subscriptions = RepositorySubscriptions.from_dict(
|
|
67
|
+
d.pop("repository_subscriptions")
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
operation_costs = OperationCosts.from_dict(d.pop("operation_costs"))
|
|
71
|
+
|
|
72
|
+
summary = ServiceOfferingSummary.from_dict(d.pop("summary"))
|
|
73
|
+
|
|
74
|
+
service_offerings_response = cls(
|
|
75
|
+
graph_subscriptions=graph_subscriptions,
|
|
76
|
+
repository_subscriptions=repository_subscriptions,
|
|
77
|
+
operation_costs=operation_costs,
|
|
78
|
+
summary=summary,
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
service_offerings_response.additional_properties = d
|
|
82
|
+
return service_offerings_response
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def additional_keys(self) -> list[str]:
|
|
86
|
+
return list(self.additional_properties.keys())
|
|
87
|
+
|
|
88
|
+
def __getitem__(self, key: str) -> Any:
|
|
89
|
+
return self.additional_properties[key]
|
|
90
|
+
|
|
91
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
92
|
+
self.additional_properties[key] = value
|
|
93
|
+
|
|
94
|
+
def __delitem__(self, key: str) -> None:
|
|
95
|
+
del self.additional_properties[key]
|
|
96
|
+
|
|
97
|
+
def __contains__(self, key: str) -> bool:
|
|
98
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.storage_info_included_per_tier import StorageInfoIncludedPerTier
|
|
9
|
+
from ..models.storage_info_overage_pricing import StorageInfoOveragePricing
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="StorageInfo")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class StorageInfo:
|
|
17
|
+
"""Storage pricing information.
|
|
18
|
+
|
|
19
|
+
Attributes:
|
|
20
|
+
included_per_tier (StorageInfoIncludedPerTier): Storage included per tier in GB
|
|
21
|
+
overage_pricing (StorageInfoOveragePricing): Overage pricing per GB per tier
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
included_per_tier: "StorageInfoIncludedPerTier"
|
|
25
|
+
overage_pricing: "StorageInfoOveragePricing"
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
included_per_tier = self.included_per_tier.to_dict()
|
|
30
|
+
|
|
31
|
+
overage_pricing = self.overage_pricing.to_dict()
|
|
32
|
+
|
|
33
|
+
field_dict: dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update(
|
|
36
|
+
{
|
|
37
|
+
"included_per_tier": included_per_tier,
|
|
38
|
+
"overage_pricing": overage_pricing,
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
return field_dict
|
|
43
|
+
|
|
44
|
+
@classmethod
|
|
45
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
46
|
+
from ..models.storage_info_included_per_tier import StorageInfoIncludedPerTier
|
|
47
|
+
from ..models.storage_info_overage_pricing import StorageInfoOveragePricing
|
|
48
|
+
|
|
49
|
+
d = dict(src_dict)
|
|
50
|
+
included_per_tier = StorageInfoIncludedPerTier.from_dict(d.pop("included_per_tier"))
|
|
51
|
+
|
|
52
|
+
overage_pricing = StorageInfoOveragePricing.from_dict(d.pop("overage_pricing"))
|
|
53
|
+
|
|
54
|
+
storage_info = cls(
|
|
55
|
+
included_per_tier=included_per_tier,
|
|
56
|
+
overage_pricing=overage_pricing,
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
storage_info.additional_properties = d
|
|
60
|
+
return storage_info
|
|
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
|
|
@@ -0,0 +1,44 @@
|
|
|
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="StorageInfoIncludedPerTier")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class StorageInfoIncludedPerTier:
|
|
12
|
+
"""Storage included per tier in GB"""
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, int] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
storage_info_included_per_tier = cls()
|
|
26
|
+
|
|
27
|
+
storage_info_included_per_tier.additional_properties = d
|
|
28
|
+
return storage_info_included_per_tier
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> int:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: int) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
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="StorageInfoOveragePricing")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class StorageInfoOveragePricing:
|
|
12
|
+
"""Overage pricing per GB per tier"""
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, float] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
storage_info_overage_pricing = cls()
|
|
26
|
+
|
|
27
|
+
storage_info_overage_pricing.additional_properties = d
|
|
28
|
+
return storage_info_overage_pricing
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> float:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: float) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,68 @@
|
|
|
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="TokenPricing")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class TokenPricing:
|
|
12
|
+
"""AI token pricing for a specific model.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
input_per_1k_tokens (int): Credits per 1K input tokens
|
|
16
|
+
output_per_1k_tokens (int): Credits per 1K output tokens
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
input_per_1k_tokens: int
|
|
20
|
+
output_per_1k_tokens: int
|
|
21
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> dict[str, Any]:
|
|
24
|
+
input_per_1k_tokens = self.input_per_1k_tokens
|
|
25
|
+
|
|
26
|
+
output_per_1k_tokens = self.output_per_1k_tokens
|
|
27
|
+
|
|
28
|
+
field_dict: dict[str, Any] = {}
|
|
29
|
+
field_dict.update(self.additional_properties)
|
|
30
|
+
field_dict.update(
|
|
31
|
+
{
|
|
32
|
+
"input_per_1k_tokens": input_per_1k_tokens,
|
|
33
|
+
"output_per_1k_tokens": output_per_1k_tokens,
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
input_per_1k_tokens = d.pop("input_per_1k_tokens")
|
|
43
|
+
|
|
44
|
+
output_per_1k_tokens = d.pop("output_per_1k_tokens")
|
|
45
|
+
|
|
46
|
+
token_pricing = cls(
|
|
47
|
+
input_per_1k_tokens=input_per_1k_tokens,
|
|
48
|
+
output_per_1k_tokens=output_per_1k_tokens,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
token_pricing.additional_properties = d
|
|
52
|
+
return token_pricing
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> list[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|
|
@@ -69,7 +69,7 @@ robosystems_client/api/graph_limits/get_graph_limits.py,sha256=LbSLwPGojoK5jZ0ZZ
|
|
|
69
69
|
robosystems_client/api/graphs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
70
70
|
robosystems_client/api/graphs/create_graph.py,sha256=LpklD_BG9EaBuuDmHif1RAK_86jVM1y57o0bP9_5nHA,16748
|
|
71
71
|
robosystems_client/api/graphs/get_available_extensions.py,sha256=A4gVvWGgSP1aCsyRqSxZp9n1c8Qq0fxuVHpFVhA6EsQ,8385
|
|
72
|
-
robosystems_client/api/graphs/get_available_graph_tiers.py,sha256=
|
|
72
|
+
robosystems_client/api/graphs/get_available_graph_tiers.py,sha256=t9ikSV2pzp4tXM8esrJSEW_fTpZFhlLsVLl_IgpvEDQ,9089
|
|
73
73
|
robosystems_client/api/graphs/get_graphs.py,sha256=TRE2mTJs2XCqRfsiQ4cRIsTtnQ4G3tRwqUddGw7L_Ws,9069
|
|
74
74
|
robosystems_client/api/graphs/select_graph.py,sha256=OMl8lnKhKdFLK1iREbVSzNkaL7eQNmy88XrN4RiRELQ,9398
|
|
75
75
|
robosystems_client/api/mcp/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
@@ -86,7 +86,7 @@ robosystems_client/api/schema/export_graph_schema.py,sha256=4h01619pPXVRZlfI2rs5
|
|
|
86
86
|
robosystems_client/api/schema/get_graph_schema.py,sha256=EedSj2Ao2-5kqspViJLKz6tpb6lS3A--5lpFc-311YM,10214
|
|
87
87
|
robosystems_client/api/schema/validate_schema.py,sha256=MMMphsRcRPTHp2wfLP8ujsaO_Xe3muYTNdflmJa7EYM,8320
|
|
88
88
|
robosystems_client/api/service_offerings/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
89
|
-
robosystems_client/api/service_offerings/get_service_offerings.py,sha256=
|
|
89
|
+
robosystems_client/api/service_offerings/get_service_offerings.py,sha256=5S20rSVxmNjqP4HYqyZ4gdh79sHOPBNjQD0ZubneRUo,6480
|
|
90
90
|
robosystems_client/api/status/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
91
91
|
robosystems_client/api/status/get_service_status.py,sha256=eRAk7piCdm3R9A0MfmMardMEhFmzjydFo9SDLjAbQKA,3306
|
|
92
92
|
robosystems_client/api/subgraphs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
@@ -135,7 +135,7 @@ robosystems_client/extensions/dataframe_utils.py,sha256=gK1bgkVqBF0TvWVdGQvqWrt-
|
|
|
135
135
|
robosystems_client/extensions/extensions.py,sha256=ROnCobUek4Dke9dVx2sTzNKhz309NOG40EDSYHtNmWs,6257
|
|
136
136
|
robosystems_client/extensions/graph_client.py,sha256=OBi0xj0SLIRKLeSu_DiGt2ZakCmhggvNrMP3jdRfEgQ,10326
|
|
137
137
|
robosystems_client/extensions/operation_client.py,sha256=B1qju-wWQrnrnVJixKGgsA_KEInviwJwdlJxzm_i7P0,13359
|
|
138
|
-
robosystems_client/extensions/query_client.py,sha256
|
|
138
|
+
robosystems_client/extensions/query_client.py,sha256=cX3e8EBoTeg4Lwm6edJYRULM2UmGpfqNX3f48S8TQbE,19430
|
|
139
139
|
robosystems_client/extensions/sse_client.py,sha256=XvQIq3JQ0Yiax11E7cwclhupShYOpEMURM2cYQodiz8,15058
|
|
140
140
|
robosystems_client/extensions/table_ingest_client.py,sha256=H-gJBsYshEfiJ3KTIE3yjspUjQWLIYFKuttrmfRjFdk,12873
|
|
141
141
|
robosystems_client/extensions/token_utils.py,sha256=qCK_s1vBzRnSYwtgncPZRLJVIw3WXmzqNTWjdEEpdgs,10899
|
|
@@ -145,7 +145,7 @@ robosystems_client/extensions/tests/test_dataframe_utils.py,sha256=g184mdEMSkFt6
|
|
|
145
145
|
robosystems_client/extensions/tests/test_integration.py,sha256=DszEH9-CJ-d5KB2NNNY9BZMT8f3A_Z-MLXYW5WfVeRk,15446
|
|
146
146
|
robosystems_client/extensions/tests/test_token_utils.py,sha256=CsrpW771pLRrdQoM91oJ9_B33SB3YTno4_OPog6mIgo,8424
|
|
147
147
|
robosystems_client/extensions/tests/test_unit.py,sha256=REnfMGpgH-FS-n860-3qXEUqAxZ7zbci-nIDPYuB7Tw,16712
|
|
148
|
-
robosystems_client/models/__init__.py,sha256=
|
|
148
|
+
robosystems_client/models/__init__.py,sha256=BR19hPLEX7lVCwR5POScbclYTsxNBOk4_6Z0lKy0eQk,22189
|
|
149
149
|
robosystems_client/models/account_info.py,sha256=rcENAioMA3olA3Sks5raIqeODqRgrmFuiFhwzLunrGI,2054
|
|
150
150
|
robosystems_client/models/add_on_credit_info.py,sha256=h65KAb8yZP_SGpsB2Ref4IaBCthEDYJgFGTd9PjUpfs,3221
|
|
151
151
|
robosystems_client/models/agent_list_response.py,sha256=68PkLJ3goUZlm8WZ4HOjlWLZrPYKwJQ6PTPm2ZNRmBM,1873
|
|
@@ -170,6 +170,7 @@ robosystems_client/models/auth_response.py,sha256=rnoIGaRbJ9Nh-ty8e-H0qTwnFm2O6Z
|
|
|
170
170
|
robosystems_client/models/auth_response_user.py,sha256=QSXztxSkwxAbCkUJBeKcN-_4d-NONtJnMB99cJHmuAw,1173
|
|
171
171
|
robosystems_client/models/available_extension.py,sha256=YKL7EfIcYfSdBFzpmlMXp0GQqCdab8CiRtapIpO6UOc,1824
|
|
172
172
|
robosystems_client/models/available_extensions_response.py,sha256=zt9ggowoErKKoqxle5sa10XCx5wh-j71xw-Rq4Ya16c,1979
|
|
173
|
+
robosystems_client/models/available_graph_tiers_response.py,sha256=xlmIu3TuFSYsc23A_Py8STd0gUBomNMEPCasOXKmZlk,1906
|
|
173
174
|
robosystems_client/models/backup_create_request.py,sha256=51DBMilcgEu0GDXwuPnFm3gSAOWYYbkq2PsDCXAgQ2A,3710
|
|
174
175
|
robosystems_client/models/backup_download_url_response.py,sha256=BY9N-iyjKJKBM2pi_bLTOEhxhE0nEBmlU-py-g1OSJY,2372
|
|
175
176
|
robosystems_client/models/backup_limits.py,sha256=DuKI3nt1lP-E0YWKbljb-cX5xloLcVPk8L5XR_PG8HQ,2123
|
|
@@ -252,6 +253,13 @@ robosystems_client/models/graph_metrics_response_estimated_size.py,sha256=Dfe4zb
|
|
|
252
253
|
robosystems_client/models/graph_metrics_response_health_status.py,sha256=IpwCxU4V5fHNP-2sVQW4uV9iAl_b0KA4ECEsEggfeb4,1270
|
|
253
254
|
robosystems_client/models/graph_metrics_response_node_counts.py,sha256=slKDmoKGV5HfUs8CuAvgYyDS-6VkyBjZ3IUJ2Dl5Acw,1253
|
|
254
255
|
robosystems_client/models/graph_metrics_response_relationship_counts.py,sha256=-MPyWBhmOX3w-2Xj5d0ED42ewyWzS9r0ruE6mgdZ98I,1300
|
|
256
|
+
robosystems_client/models/graph_subscription_tier.py,sha256=5oDgbe9BsHs3cp9cMVn31TDcd_40Q2CEx1weBohthp8,6786
|
|
257
|
+
robosystems_client/models/graph_subscriptions.py,sha256=ZjX_GuWS0OnCK_BaEG0fdIn3Nq3JTQhvljbx2hDzCVc,2615
|
|
258
|
+
robosystems_client/models/graph_tier_backup.py,sha256=cwHk3S3Zcu_5owIRzP2c0wzE58Q84vfDoS0719SclcE,2145
|
|
259
|
+
robosystems_client/models/graph_tier_copy_operations.py,sha256=dzm6950aqD8xMjSqOZgLsLH4eKTN_r_qVLoNBpcEUZI,2778
|
|
260
|
+
robosystems_client/models/graph_tier_info.py,sha256=lbfVXlmR34qN_cItDGoY4ywUJboX8g9knBN4Mm6cGCg,5290
|
|
261
|
+
robosystems_client/models/graph_tier_instance.py,sha256=Am_QvDMzqW1SmnzEq6Te-bKIap_iTdZtnp0bb5lTVms,1922
|
|
262
|
+
robosystems_client/models/graph_tier_limits.py,sha256=Ylgjqr2jKsd4aed-aLbRqJUJFDMGOaNG3C4XE_5E65o,3073
|
|
255
263
|
robosystems_client/models/graph_usage_response.py,sha256=zdtgINU0tQw4eEgRtOUAwdU0hM_nNuHWDpsoxOsRgsc,3418
|
|
256
264
|
robosystems_client/models/graph_usage_response_query_statistics.py,sha256=YjUU3AcJ9TAYHbsLncm2u497J3M8DVacnZwiQOzkIYY,1264
|
|
257
265
|
robosystems_client/models/graph_usage_response_recent_activity.py,sha256=zuhLvyEIn7kpx1Xxi32EVcNmCzHlR-9xeSQ_sCDf_DE,1266
|
|
@@ -276,6 +284,11 @@ robosystems_client/models/o_auth_callback_request.py,sha256=qZ2SHHQ9rjJwJk0cUjSZ
|
|
|
276
284
|
robosystems_client/models/o_auth_init_request.py,sha256=lLX0Cs1s0B977cUhRLYPtqep_8AV3qD1bhytH5QrvYs,3963
|
|
277
285
|
robosystems_client/models/o_auth_init_request_additional_params_type_0.py,sha256=UERw3SmOK4UE4Om2_sZl-2a4C2qD0Ai8myH7Dh6ANlg,1278
|
|
278
286
|
robosystems_client/models/o_auth_init_response.py,sha256=kBJn6x9T1R9b45GFm6sY3_p0uZsM_zhlCfG3goO99L0,1931
|
|
287
|
+
robosystems_client/models/offering_repository_plan.py,sha256=NmEtXkz02OhopUmUWVrxIsYO15a0ubjW0PWxddp_BUY,4093
|
|
288
|
+
robosystems_client/models/offering_repository_plan_rate_limits_type_0.py,sha256=djO2ZyRGNKvjTD2rOVgO9ouruxTvDOdKJC8CqrdJqpQ,1785
|
|
289
|
+
robosystems_client/models/operation_costs.py,sha256=QkvQoDDVY6weGnsLv339LJO5jRP-u0zdWfeQMv5-iYI,2999
|
|
290
|
+
robosystems_client/models/operation_costs_ai_operations.py,sha256=uFaM-4RYE1b17-PrXupVwlxNe6fpwspiyZsXYQfI2dE,1244
|
|
291
|
+
robosystems_client/models/operation_costs_token_pricing.py,sha256=Y3KP1CeoJYZlq_jv6bz6skeiUfikSKcdhtttiAfGchk,1688
|
|
279
292
|
robosystems_client/models/password_check_request.py,sha256=ht66MwakiQAc8FB_sDS5qmI2FuHSM_-TNcupE9lhz1g,2091
|
|
280
293
|
robosystems_client/models/password_check_response.py,sha256=QkGKrAFrU2zpGUDxo1kisyJK1mr7-g1hzZf5OR3hFvA,2902
|
|
281
294
|
robosystems_client/models/password_check_response_character_types.py,sha256=fM4WuPV_L8vHGOTEFx7oV8_1w49GIBOKrupFMuSooYY,1284
|
|
@@ -289,7 +302,9 @@ robosystems_client/models/quick_books_connection_config.py,sha256=ohhOvNp3k8XVz-
|
|
|
289
302
|
robosystems_client/models/rate_limits.py,sha256=vnsqixRLz4T5SRfWN9ZYyn8SOiH8WJ2qtv83QY16ivU,2021
|
|
290
303
|
robosystems_client/models/register_request.py,sha256=9pHjAsopUT4IJ-pWPny7VSZ5MfSq2tALCt2nTM1vRZc,2511
|
|
291
304
|
robosystems_client/models/repository_credits_response.py,sha256=znFVtTxsa3XRRbqS6swki3MGbj3_vZegMB8Clh9-Qgc,3537
|
|
305
|
+
robosystems_client/models/repository_info.py,sha256=3jZhhHdjFNE3yHzBVwaOZDOuKXnrvdGZcWlxsTnLnLA,2783
|
|
292
306
|
robosystems_client/models/repository_plan.py,sha256=BEdbh0FPIrsomZU_Aq27EAk-ppOqlJxuwNRVCZlNLKo,185
|
|
307
|
+
robosystems_client/models/repository_subscriptions.py,sha256=_xwqEkYqfV3WlGfKsgvScDnj8VzpslxTXkwqf17XKN8,2435
|
|
293
308
|
robosystems_client/models/repository_type.py,sha256=Mw4q6l82iVgalXxOiWCpmtGZAf4MawNxCsIW2QoPd0I,175
|
|
294
309
|
robosystems_client/models/resend_verification_email_response_resendverificationemail.py,sha256=Dh0e9tvOd_V6nEzX9MJLonn-gLhJQ7QHOe_xJkwPaK4,1354
|
|
295
310
|
robosystems_client/models/reset_password_request.py,sha256=14kn__5re5UkWEfjqz25RZeoQBh7z9fOKu_a01X9zi4,1682
|
|
@@ -307,10 +322,15 @@ robosystems_client/models/schema_validation_response_compatibility_type_0.py,sha
|
|
|
307
322
|
robosystems_client/models/schema_validation_response_stats_type_0.py,sha256=H2ZmFmyJSBfupYJniiU643PfHvwc5CCwRrOP8hj6fug,1257
|
|
308
323
|
robosystems_client/models/sec_connection_config.py,sha256=ZIcENfOIhGJnnAfboyVD_V9TFOkrS-dhLbVqfMBE1gw,2117
|
|
309
324
|
robosystems_client/models/selection_criteria.py,sha256=h04f-YIVc6Ljq1Eo-l5buFNTZVzgLbVzm8Xgc9GqtUs,4155
|
|
325
|
+
robosystems_client/models/service_offering_summary.py,sha256=dOqrA9YA6rs1VaVf2OqNDeSAauUZVFF8CCLGleR0lG4,2505
|
|
326
|
+
robosystems_client/models/service_offerings_response.py,sha256=QiDhvfHuUNfjVBJUr9mnmfmdvxL_lNg1z6Nzf8YxR7M,3259
|
|
310
327
|
robosystems_client/models/sso_complete_request.py,sha256=_k4oKRh41Z3DVIrP8-bbFE3AenBbflLrY2tw6xg5G34,1482
|
|
311
328
|
robosystems_client/models/sso_exchange_request.py,sha256=b-XqNnBNLMviA6-rPmvfDLw6QELxs9-2tELSqjZJVQ4,2338
|
|
312
329
|
robosystems_client/models/sso_exchange_response.py,sha256=HmcvnafE-AQvzjvVBcGEft7FE6cxW2yJ1iiXtJbLe2A,2030
|
|
313
330
|
robosystems_client/models/sso_token_response.py,sha256=nZUjC2-uvY8kBxXRzf_XLw6Oh9T2jF24sy7tf2BsYZY,1909
|
|
331
|
+
robosystems_client/models/storage_info.py,sha256=Sdn-V-Q9kDEwfUqZ5vcW7BMXjiXS6GBCLQltghv75ME,2310
|
|
332
|
+
robosystems_client/models/storage_info_included_per_tier.py,sha256=gOd8Vlzk4_-3TLTy2u1ky7zhi8QRIs9SzO883gcJZ-A,1244
|
|
333
|
+
robosystems_client/models/storage_info_overage_pricing.py,sha256=ZqiUj42_VFpsdJ2DzvXdQW96C-1luGnoaCHlGJeBimo,1242
|
|
314
334
|
robosystems_client/models/storage_limit_response.py,sha256=MARn28shb1eSTXx7ZoXdkWr_tKRh87bdl49Ois-aVow,4149
|
|
315
335
|
robosystems_client/models/storage_limits.py,sha256=_0qQ4yzuLjFbZdNboaDDDPsTO5ecKgH-LU8IuACzOtc,2582
|
|
316
336
|
robosystems_client/models/subgraph_quota_response.py,sha256=pBHhUt2CXHR3UondX10XGkpmM7wlyxCqk39Te1LZXz8,4693
|
|
@@ -333,6 +353,7 @@ robosystems_client/models/table_list_response.py,sha256=wmlmFs6jw_qjrc9N9iQG2Un1
|
|
|
333
353
|
robosystems_client/models/table_query_request.py,sha256=bZITK2e2KdPZ7cVvi0arZpCfqDnT9yl8yv7Cd_jJWgw,1878
|
|
334
354
|
robosystems_client/models/table_query_response.py,sha256=Y9zUSm1BPRfJEN_SP6lIZIQs75TcYPu1M8bxpWNp7PI,2268
|
|
335
355
|
robosystems_client/models/tier_upgrade_request.py,sha256=uSF_CpTLwlj6jTO7a9yCbboBGvuzJOIgyVjJYVNc6t4,1567
|
|
356
|
+
robosystems_client/models/token_pricing.py,sha256=89uMvNo1RMh1Muz2ExTZdjFQgukXf_lfgKdoLvOFGp4,1841
|
|
336
357
|
robosystems_client/models/transaction_summary_response.py,sha256=MSQYuOharoRpBilqmpKo_Dxv39QLjJ0g5oY9NYsCQNA,3714
|
|
337
358
|
robosystems_client/models/update_api_key_request.py,sha256=fQVFQnUSIRDcBkCZP6ObAdVjIReaYuqSS3eliNSt59c,2527
|
|
338
359
|
robosystems_client/models/update_file_status_response_updatefilestatus.py,sha256=CnUPFGrufD3EMGXpqCX9Xa8dyY0ZZfb6B5Ke2Ktqiuk,1284
|
|
@@ -354,7 +375,7 @@ robosystems_client/models/user_usage_response_graphs.py,sha256=xAH-ZnhaUfWQ_2EpZ
|
|
|
354
375
|
robosystems_client/models/user_usage_summary_response.py,sha256=4hthwTH7bXyzdYlHoekDYOgDLI-stGRH507Bl2rUjYA,3655
|
|
355
376
|
robosystems_client/models/user_usage_summary_response_usage_vs_limits.py,sha256=XrZnRcy1nD3xtKX4svbww7QfEHrN7_XIfeL9j5ZMbyQ,1298
|
|
356
377
|
robosystems_client/models/validation_error.py,sha256=R77OuQG2nJ3WDFfY--xbEhg6x1D7gAAp_1UdnG8Ka2A,1949
|
|
357
|
-
robosystems_client-0.2.
|
|
358
|
-
robosystems_client-0.2.
|
|
359
|
-
robosystems_client-0.2.
|
|
360
|
-
robosystems_client-0.2.
|
|
378
|
+
robosystems_client-0.2.8.dist-info/METADATA,sha256=AShLe4Foo6kgRdRz6Hsu0VcRWgwyPr7ZVu3XTKWswxI,3903
|
|
379
|
+
robosystems_client-0.2.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
380
|
+
robosystems_client-0.2.8.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
|
|
381
|
+
robosystems_client-0.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|