moovio_sdk 0.18.1__py3-none-any.whl → 0.18.2__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.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/images.py +16 -4
- moovio_sdk/models/operations/listimagemetadata.py +18 -1
- {moovio_sdk-0.18.1.dist-info → moovio_sdk-0.18.2.dist-info}/METADATA +1 -1
- {moovio_sdk-0.18.1.dist-info → moovio_sdk-0.18.2.dist-info}/RECORD +6 -6
- {moovio_sdk-0.18.1.dist-info → moovio_sdk-0.18.2.dist-info}/WHEEL +0 -0
moovio_sdk/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "moovio_sdk"
|
|
6
|
-
__version__: str = "0.18.
|
|
6
|
+
__version__: str = "0.18.2"
|
|
7
7
|
__openapi_doc_version__: str = "latest"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.18.
|
|
8
|
+
__gen_version__: str = "2.728.0"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.18.2 2.728.0 latest moovio_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
moovio_sdk/images.py
CHANGED
|
@@ -22,6 +22,8 @@ class Images(BaseSDK):
|
|
|
22
22
|
self,
|
|
23
23
|
*,
|
|
24
24
|
account_id: str,
|
|
25
|
+
skip: Optional[int] = None,
|
|
26
|
+
count: Optional[int] = None,
|
|
25
27
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
26
28
|
server_url: Optional[str] = None,
|
|
27
29
|
timeout_ms: Optional[int] = None,
|
|
@@ -30,6 +32,8 @@ class Images(BaseSDK):
|
|
|
30
32
|
r"""List metadata for all images in the specified account.
|
|
31
33
|
|
|
32
34
|
:param account_id:
|
|
35
|
+
:param skip:
|
|
36
|
+
:param count:
|
|
33
37
|
:param retries: Override the default retry configuration for this method
|
|
34
38
|
:param server_url: Override the default server URL for this method
|
|
35
39
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -47,6 +51,8 @@ class Images(BaseSDK):
|
|
|
47
51
|
|
|
48
52
|
request = operations.ListImageMetadataRequest(
|
|
49
53
|
account_id=account_id,
|
|
54
|
+
skip=skip,
|
|
55
|
+
count=count,
|
|
50
56
|
)
|
|
51
57
|
|
|
52
58
|
req = self._build_request(
|
|
@@ -117,6 +123,8 @@ class Images(BaseSDK):
|
|
|
117
123
|
self,
|
|
118
124
|
*,
|
|
119
125
|
account_id: str,
|
|
126
|
+
skip: Optional[int] = None,
|
|
127
|
+
count: Optional[int] = None,
|
|
120
128
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
121
129
|
server_url: Optional[str] = None,
|
|
122
130
|
timeout_ms: Optional[int] = None,
|
|
@@ -125,6 +133,8 @@ class Images(BaseSDK):
|
|
|
125
133
|
r"""List metadata for all images in the specified account.
|
|
126
134
|
|
|
127
135
|
:param account_id:
|
|
136
|
+
:param skip:
|
|
137
|
+
:param count:
|
|
128
138
|
:param retries: Override the default retry configuration for this method
|
|
129
139
|
:param server_url: Override the default server URL for this method
|
|
130
140
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -142,6 +152,8 @@ class Images(BaseSDK):
|
|
|
142
152
|
|
|
143
153
|
request = operations.ListImageMetadataRequest(
|
|
144
154
|
account_id=account_id,
|
|
155
|
+
skip=skip,
|
|
156
|
+
count=count,
|
|
145
157
|
)
|
|
146
158
|
|
|
147
159
|
req = self._build_request_async(
|
|
@@ -1261,7 +1273,7 @@ class Images(BaseSDK):
|
|
|
1261
1273
|
security_source=None,
|
|
1262
1274
|
),
|
|
1263
1275
|
request=req,
|
|
1264
|
-
error_status_codes=["404", "429", "4XX", "500", "502", "504", "5XX"],
|
|
1276
|
+
error_status_codes=["404", "429", "4XX", "500", "502", "503", "504", "5XX"],
|
|
1265
1277
|
stream=True,
|
|
1266
1278
|
retry_config=retry_config,
|
|
1267
1279
|
)
|
|
@@ -1281,7 +1293,7 @@ class Images(BaseSDK):
|
|
|
1281
1293
|
if utils.match_response(http_res, ["404", "429"], "*"):
|
|
1282
1294
|
http_res_text = utils.stream_to_text(http_res)
|
|
1283
1295
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
1284
|
-
if utils.match_response(http_res, ["500", "502", "504"], "*"):
|
|
1296
|
+
if utils.match_response(http_res, ["500", "502", "503", "504"], "*"):
|
|
1285
1297
|
http_res_text = utils.stream_to_text(http_res)
|
|
1286
1298
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
1287
1299
|
if utils.match_response(http_res, "4XX", "*"):
|
|
@@ -1367,7 +1379,7 @@ class Images(BaseSDK):
|
|
|
1367
1379
|
security_source=None,
|
|
1368
1380
|
),
|
|
1369
1381
|
request=req,
|
|
1370
|
-
error_status_codes=["404", "429", "4XX", "500", "502", "504", "5XX"],
|
|
1382
|
+
error_status_codes=["404", "429", "4XX", "500", "502", "503", "504", "5XX"],
|
|
1371
1383
|
stream=True,
|
|
1372
1384
|
retry_config=retry_config,
|
|
1373
1385
|
)
|
|
@@ -1387,7 +1399,7 @@ class Images(BaseSDK):
|
|
|
1387
1399
|
if utils.match_response(http_res, ["404", "429"], "*"):
|
|
1388
1400
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
1389
1401
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
1390
|
-
if utils.match_response(http_res, ["500", "502", "504"], "*"):
|
|
1402
|
+
if utils.match_response(http_res, ["500", "502", "503", "504"], "*"):
|
|
1391
1403
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
1392
1404
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
1393
1405
|
if utils.match_response(http_res, "4XX", "*"):
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from moovio_sdk.models.components import imagemetadata as components_imagemetadata
|
|
5
5
|
from moovio_sdk.types import BaseModel
|
|
6
|
-
from moovio_sdk.utils import
|
|
6
|
+
from moovio_sdk.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
HeaderMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
QueryParamMetadata,
|
|
11
|
+
)
|
|
7
12
|
import pydantic
|
|
8
13
|
from typing import Dict, List, Optional
|
|
9
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -43,6 +48,8 @@ class ListImageMetadataGlobals(BaseModel):
|
|
|
43
48
|
|
|
44
49
|
class ListImageMetadataRequestTypedDict(TypedDict):
|
|
45
50
|
account_id: str
|
|
51
|
+
skip: NotRequired[int]
|
|
52
|
+
count: NotRequired[int]
|
|
46
53
|
|
|
47
54
|
|
|
48
55
|
class ListImageMetadataRequest(BaseModel):
|
|
@@ -52,6 +59,16 @@ class ListImageMetadataRequest(BaseModel):
|
|
|
52
59
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
53
60
|
]
|
|
54
61
|
|
|
62
|
+
skip: Annotated[
|
|
63
|
+
Optional[int],
|
|
64
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
65
|
+
] = None
|
|
66
|
+
|
|
67
|
+
count: Annotated[
|
|
68
|
+
Optional[int],
|
|
69
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
70
|
+
] = None
|
|
71
|
+
|
|
55
72
|
|
|
56
73
|
class ListImageMetadataResponseTypedDict(TypedDict):
|
|
57
74
|
headers: Dict[str, List[str]]
|
|
@@ -3,7 +3,7 @@ moovio_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c
|
|
|
3
3
|
moovio_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
4
4
|
moovio_sdk/_hooks/sdkhooks.py,sha256=2XuMgiV2N7UE7lN00Is-c3spxVWigYitXS6xSmS_Qow,2560
|
|
5
5
|
moovio_sdk/_hooks/types.py,sha256=Yi9LD8_sd4zG7_idzCZY4MTxTXMhDlmCdpQvU4dXFI4,3049
|
|
6
|
-
moovio_sdk/_version.py,sha256=
|
|
6
|
+
moovio_sdk/_version.py,sha256=yYmdl1HsMFoEtGUupZnEX0Y8XFMVfQfey7-xsEUG8JU,466
|
|
7
7
|
moovio_sdk/account_terminal_applications.py,sha256=P1WRR9YHhtETL3uJkzthEbOVTWYcFwXBYEP2b7vn-v8,38538
|
|
8
8
|
moovio_sdk/accounts.py,sha256=UC-9ywSHR7Ve4av6XC2nrh45qp06zHAiD5msPmOxI0g,100662
|
|
9
9
|
moovio_sdk/adjustments.py,sha256=zQFf-OpN1kIDwlmZN4-j_3WdvRA6xBROylzLlTDoA24,17621
|
|
@@ -23,7 +23,7 @@ moovio_sdk/enriched_profile.py,sha256=thK4d7jlR0mTkhtVNkC0VUhinHqo3ToveW173e-WIv
|
|
|
23
23
|
moovio_sdk/fee_plans.py,sha256=SSb-JKOQwf5hj9cuJap_3h4x3iTItdnmBAtX6h7UdHE,67645
|
|
24
24
|
moovio_sdk/files.py,sha256=QvfBgtYhMq07WmztsClUZps4Fzr1oxHkpR5mihgLSAY,29563
|
|
25
25
|
moovio_sdk/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
|
|
26
|
-
moovio_sdk/images.py,sha256=
|
|
26
|
+
moovio_sdk/images.py,sha256=aaPczsa4BGsD7LD9ZyFHsVeNz9ehUuCDG7nPhrnwk8Q,59450
|
|
27
27
|
moovio_sdk/industries.py,sha256=Fr2NPvvhPrE_8yEQQKO6AlmXwxFdiFkTJXkPEm-R1zw,9376
|
|
28
28
|
moovio_sdk/institutions.py,sha256=F4mO-lCYZwAtq22psCWwOtMm1-OkL2f6CiS3v-KBgZ4,20531
|
|
29
29
|
moovio_sdk/issuing_transactions.py,sha256=HPPLkRZaQESCtmfrpzCL8XaCm2-R8iZDGzCVbQEX_F8,48969
|
|
@@ -675,7 +675,7 @@ moovio_sdk/models/operations/listfeeplanagreements.py,sha256=ekmwOWI1T1quWxKjs15
|
|
|
675
675
|
moovio_sdk/models/operations/listfeeplans.py,sha256=WQrKZF1qv1bqJXFfGjtNbh47MTor4b6PgXHrK_jy-j8,2773
|
|
676
676
|
moovio_sdk/models/operations/listfeesfetch.py,sha256=I4gEjnWXepSc0olqzsLLlz1PSHi8FDxe_XgMQf4v3fU,2823
|
|
677
677
|
moovio_sdk/models/operations/listfiles.py,sha256=SF42uW767_lbr3G9vXa_e_3UzM5oKE0NgyuEf2oo8oU,2368
|
|
678
|
-
moovio_sdk/models/operations/listimagemetadata.py,sha256=
|
|
678
|
+
moovio_sdk/models/operations/listimagemetadata.py,sha256=SmmohDeQfakBznaMuSrlkeyvNF7d9EThMfTpAQcWFEU,2797
|
|
679
679
|
moovio_sdk/models/operations/listindustries.py,sha256=jwOztYjUxtdxW4WjPGqcTmjRymbZ0WHRirLucARvd7A,2249
|
|
680
680
|
moovio_sdk/models/operations/listinstitutions.py,sha256=gbH89wXn8dkSLiEKpAuoSqfPcnf4fsucxvk5Vw245NU,3609
|
|
681
681
|
moovio_sdk/models/operations/listissuedcardauthorizationevents.py,sha256=x4CQf5zNl3FdPipyjRNgfNeVtKth7ijsNz42ezTWry8,3354
|
|
@@ -771,6 +771,6 @@ moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
|
771
771
|
moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
772
772
|
moovio_sdk/wallet_transactions.py,sha256=YPn4GgAkj1MbcA6PfqI9JCXXvaCmCK_i7LjdT9P-iH8,23903
|
|
773
773
|
moovio_sdk/wallets.py,sha256=probtxxWU4fXD_t6RPiECntgOzQlMZH-tsueH7BfBkU,43262
|
|
774
|
-
moovio_sdk-0.18.
|
|
775
|
-
moovio_sdk-0.18.
|
|
776
|
-
moovio_sdk-0.18.
|
|
774
|
+
moovio_sdk-0.18.2.dist-info/METADATA,sha256=9ZYH-DtPIR2nxvSqyFi46ZQih6rIJI__0243CKSheDQ,117863
|
|
775
|
+
moovio_sdk-0.18.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
776
|
+
moovio_sdk-0.18.2.dist-info/RECORD,,
|
|
File without changes
|