compass_api_sdk 0.5.4__py3-none-any.whl → 0.6.0__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 compass_api_sdk might be problematic. Click here for more details.
- compass_api_sdk/_version.py +2 -2
- compass_api_sdk/models/batcheduseroperationsrequest.py +1 -16
- compass_api_sdk/smart_account.py +1 -7
- {compass_api_sdk-0.5.4.dist-info → compass_api_sdk-0.6.0.dist-info}/METADATA +1 -1
- {compass_api_sdk-0.5.4.dist-info → compass_api_sdk-0.6.0.dist-info}/RECORD +6 -6
- {compass_api_sdk-0.5.4.dist-info → compass_api_sdk-0.6.0.dist-info}/WHEEL +0 -0
compass_api_sdk/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "compass_api_sdk"
|
|
6
|
-
__version__: str = "0.
|
|
6
|
+
__version__: str = "0.6.0"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
8
|
__gen_version__: str = "2.610.0"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.6.0 2.610.0 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -4,9 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .chain import Chain
|
|
5
5
|
from .useroperation import UserOperation, UserOperationTypedDict
|
|
6
6
|
from compass_api_sdk.types import BaseModel
|
|
7
|
-
import
|
|
8
|
-
from pydantic import ConfigDict
|
|
9
|
-
from typing import Any, Dict, List
|
|
7
|
+
from typing import List
|
|
10
8
|
from typing_extensions import TypedDict
|
|
11
9
|
|
|
12
10
|
|
|
@@ -22,21 +20,8 @@ class BatchedUserOperationsRequestTypedDict(TypedDict):
|
|
|
22
20
|
class BatchedUserOperationsRequest(BaseModel):
|
|
23
21
|
r"""Request model for batching user operations."""
|
|
24
22
|
|
|
25
|
-
model_config = ConfigDict(
|
|
26
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
27
|
-
)
|
|
28
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
29
|
-
|
|
30
23
|
chain: Chain
|
|
31
24
|
r"""The chain to use."""
|
|
32
25
|
|
|
33
26
|
operations: List[UserOperation]
|
|
34
27
|
r"""List of possible user operations"""
|
|
35
|
-
|
|
36
|
-
@property
|
|
37
|
-
def additional_properties(self):
|
|
38
|
-
return self.__pydantic_extra__
|
|
39
|
-
|
|
40
|
-
@additional_properties.setter
|
|
41
|
-
def additional_properties(self, value):
|
|
42
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
compass_api_sdk/smart_account.py
CHANGED
|
@@ -4,7 +4,7 @@ from .basesdk import BaseSDK
|
|
|
4
4
|
from compass_api_sdk import errors, models, utils
|
|
5
5
|
from compass_api_sdk._hooks import HookContext
|
|
6
6
|
from compass_api_sdk.types import OptionalNullable, UNSET
|
|
7
|
-
from typing import Any,
|
|
7
|
+
from typing import Any, List, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class SmartAccount(BaseSDK):
|
|
@@ -15,7 +15,6 @@ class SmartAccount(BaseSDK):
|
|
|
15
15
|
operations: Union[
|
|
16
16
|
List[models.UserOperation], List[models.UserOperationTypedDict]
|
|
17
17
|
],
|
|
18
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
19
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
20
19
|
server_url: Optional[str] = None,
|
|
21
20
|
timeout_ms: Optional[int] = None,
|
|
@@ -27,7 +26,6 @@ class SmartAccount(BaseSDK):
|
|
|
27
26
|
|
|
28
27
|
:param chain: The chain to use.
|
|
29
28
|
:param operations: List of possible user operations
|
|
30
|
-
:param additional_properties:
|
|
31
29
|
:param retries: Override the default retry configuration for this method
|
|
32
30
|
:param server_url: Override the default server URL for this method
|
|
33
31
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -46,7 +44,6 @@ class SmartAccount(BaseSDK):
|
|
|
46
44
|
request = models.BatchedUserOperationsRequest(
|
|
47
45
|
chain=chain,
|
|
48
46
|
operations=utils.get_pydantic_model(operations, List[models.UserOperation]),
|
|
49
|
-
**(additional_properties or {}),
|
|
50
47
|
)
|
|
51
48
|
|
|
52
49
|
req = self._build_request(
|
|
@@ -125,7 +122,6 @@ class SmartAccount(BaseSDK):
|
|
|
125
122
|
operations: Union[
|
|
126
123
|
List[models.UserOperation], List[models.UserOperationTypedDict]
|
|
127
124
|
],
|
|
128
|
-
additional_properties: Optional[Dict[str, Any]] = None,
|
|
129
125
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
130
126
|
server_url: Optional[str] = None,
|
|
131
127
|
timeout_ms: Optional[int] = None,
|
|
@@ -137,7 +133,6 @@ class SmartAccount(BaseSDK):
|
|
|
137
133
|
|
|
138
134
|
:param chain: The chain to use.
|
|
139
135
|
:param operations: List of possible user operations
|
|
140
|
-
:param additional_properties:
|
|
141
136
|
:param retries: Override the default retry configuration for this method
|
|
142
137
|
:param server_url: Override the default server URL for this method
|
|
143
138
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -156,7 +151,6 @@ class SmartAccount(BaseSDK):
|
|
|
156
151
|
request = models.BatchedUserOperationsRequest(
|
|
157
152
|
chain=chain,
|
|
158
153
|
operations=utils.get_pydantic_model(operations, List[models.UserOperation]),
|
|
159
|
-
**(additional_properties or {}),
|
|
160
154
|
)
|
|
161
155
|
|
|
162
156
|
req = self._build_request_async(
|
|
@@ -2,7 +2,7 @@ compass_api_sdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,4
|
|
|
2
2
|
compass_api_sdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
compass_api_sdk/_hooks/sdkhooks.py,sha256=eVxHB2Q_JG6zZx5xn74i208ij-fpTHqq2jod6fbghRQ,2503
|
|
4
4
|
compass_api_sdk/_hooks/types.py,sha256=VC7TZz0BiM721MghXneEovG3UkaktRkt1OhMY3iLmZM,2818
|
|
5
|
-
compass_api_sdk/_version.py,sha256=
|
|
5
|
+
compass_api_sdk/_version.py,sha256=8RPs2qMsbB6JrUKv_HTywiNlHBaswcdimME1ERvTs_8,472
|
|
6
6
|
compass_api_sdk/aave_v3.py,sha256=L8qWktJA7VeepE_CxzXHb0lIVwQ3lweyWKyq6p_uvnY,127816
|
|
7
7
|
compass_api_sdk/aerodrome_slipstream.py,sha256=SEfX8jpPDBO4hQITlkCVSYdRb514BG3vfVCHfoJiehw,84037
|
|
8
8
|
compass_api_sdk/basesdk.py,sha256=29RfgnfgQq_cRx8OHdQEdJuJ2DrgRZlzGIPC-_6-2bM,12136
|
|
@@ -54,7 +54,7 @@ compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py,sha256=PO94biGAB
|
|
|
54
54
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py,sha256=DQKPJCyd66mFq6irFqMh7wvAQyF_HniRxoASPmmsvcQ,2265
|
|
55
55
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py,sha256=DXbQqFH6qRyrnqQ61y8O7regkqgu_kqY0yY1AamZXTs,1738
|
|
56
56
|
compass_api_sdk/models/allowanceinforesponse.py,sha256=OIvJVxMrRNBay8DIeqlwGBFQ1fbaGVWlaGsOZpo40fY,1393
|
|
57
|
-
compass_api_sdk/models/batcheduseroperationsrequest.py,sha256=
|
|
57
|
+
compass_api_sdk/models/batcheduseroperationsrequest.py,sha256=qoYEHxon5GWzarbiLnSymIGutc5vFHbr1ULFW4fV-yI,787
|
|
58
58
|
compass_api_sdk/models/batcheduseroperationsresponse.py,sha256=RB_xJG3Itpm5DIbPjAt5_mX02hbMklqsWyao7shRiiI,679
|
|
59
59
|
compass_api_sdk/models/borrow.py,sha256=YQxBejrFjAvfjrYC7kmQRsQL2q6bb6MZxLzFuVHZEFg,2140
|
|
60
60
|
compass_api_sdk/models/chain.py,sha256=TzxP0Ujy0L-o3__gggsKeJIWMaflQTNnNSEaXBnSlGU,304
|
|
@@ -201,7 +201,7 @@ compass_api_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
|
201
201
|
compass_api_sdk/sdk.py,sha256=RyVwgRGRTz_vr3XcLxVc4o3wvjrLgoA6-qq9mgM9moM,7692
|
|
202
202
|
compass_api_sdk/sdkconfiguration.py,sha256=K-B67o2xftk7Rh5z59xBL0TcCn_XhX0Yh_JePPegvvU,1764
|
|
203
203
|
compass_api_sdk/sky.py,sha256=ux0V2DxGmzWdGqMJxV9i4ehhhB88_iHZZ7O-TLfzUK8,43923
|
|
204
|
-
compass_api_sdk/smart_account.py,sha256=
|
|
204
|
+
compass_api_sdk/smart_account.py,sha256=EE9qdMcqGwK1Q6gCT6b8QLmu1oo59srDAtseVA0y8I8,9056
|
|
205
205
|
compass_api_sdk/token_sdk.py,sha256=c4w0lDjdM8OjWindTZ1oEO5QwIvKRiqYuiQZB-YQyFQ,35090
|
|
206
206
|
compass_api_sdk/transaction_batching.py,sha256=icVe_FtW3j7DQtuRA6SbQVI_74noUHPCwOedu2x5j6I,31655
|
|
207
207
|
compass_api_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
@@ -224,6 +224,6 @@ compass_api_sdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFId
|
|
|
224
224
|
compass_api_sdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
225
225
|
compass_api_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
226
226
|
compass_api_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
227
|
-
compass_api_sdk-0.
|
|
228
|
-
compass_api_sdk-0.
|
|
229
|
-
compass_api_sdk-0.
|
|
227
|
+
compass_api_sdk-0.6.0.dist-info/METADATA,sha256=K_f_csk-ALqyfWvq1gnKuzQiMkMigRIoOemyH4U9eqI,25505
|
|
228
|
+
compass_api_sdk-0.6.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
229
|
+
compass_api_sdk-0.6.0.dist-info/RECORD,,
|
|
File without changes
|