alibabacloud-fc20230330 4.1.8__tar.gz → 4.1.9__tar.gz
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.
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/ChangeLog.md +4 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/PKG-INFO +1 -1
- alibabacloud_fc20230330-4.1.9/alibabacloud_fc20230330/__init__.py +1 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330/client.py +12 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330/models.py +36 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330.egg-info/PKG-INFO +1 -1
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/setup.py +1 -1
- alibabacloud_fc20230330-4.1.8/alibabacloud_fc20230330/__init__.py +0 -1
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/MANIFEST.in +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/README-CN.md +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/README.md +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330.egg-info/SOURCES.txt +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330.egg-info/dependency_links.txt +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330.egg-info/requires.txt +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330.egg-info/top_level.txt +0 -0
- {alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/setup.cfg +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.1.9'
|
{alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330/client.py
RENAMED
@@ -3983,14 +3983,20 @@ class Client(OpenApiClient):
|
|
3983
3983
|
if not UtilClient.is_unset(tmp_req.tags):
|
3984
3984
|
request.tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tags, 'tags', 'json')
|
3985
3985
|
query = {}
|
3986
|
+
if not UtilClient.is_unset(request.description):
|
3987
|
+
query['description'] = request.description
|
3986
3988
|
if not UtilClient.is_unset(request.fc_version):
|
3987
3989
|
query['fcVersion'] = request.fc_version
|
3990
|
+
if not UtilClient.is_unset(request.gpu_type):
|
3991
|
+
query['gpuType'] = request.gpu_type
|
3988
3992
|
if not UtilClient.is_unset(request.limit):
|
3989
3993
|
query['limit'] = request.limit
|
3990
3994
|
if not UtilClient.is_unset(request.next_token):
|
3991
3995
|
query['nextToken'] = request.next_token
|
3992
3996
|
if not UtilClient.is_unset(request.prefix):
|
3993
3997
|
query['prefix'] = request.prefix
|
3998
|
+
if not UtilClient.is_unset(request.runtime):
|
3999
|
+
query['runtime'] = request.runtime
|
3994
4000
|
if not UtilClient.is_unset(request.tags_shrink):
|
3995
4001
|
query['tags'] = request.tags_shrink
|
3996
4002
|
req = open_api_models.OpenApiRequest(
|
@@ -4039,14 +4045,20 @@ class Client(OpenApiClient):
|
|
4039
4045
|
if not UtilClient.is_unset(tmp_req.tags):
|
4040
4046
|
request.tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tags, 'tags', 'json')
|
4041
4047
|
query = {}
|
4048
|
+
if not UtilClient.is_unset(request.description):
|
4049
|
+
query['description'] = request.description
|
4042
4050
|
if not UtilClient.is_unset(request.fc_version):
|
4043
4051
|
query['fcVersion'] = request.fc_version
|
4052
|
+
if not UtilClient.is_unset(request.gpu_type):
|
4053
|
+
query['gpuType'] = request.gpu_type
|
4044
4054
|
if not UtilClient.is_unset(request.limit):
|
4045
4055
|
query['limit'] = request.limit
|
4046
4056
|
if not UtilClient.is_unset(request.next_token):
|
4047
4057
|
query['nextToken'] = request.next_token
|
4048
4058
|
if not UtilClient.is_unset(request.prefix):
|
4049
4059
|
query['prefix'] = request.prefix
|
4060
|
+
if not UtilClient.is_unset(request.runtime):
|
4061
|
+
query['runtime'] = request.runtime
|
4050
4062
|
if not UtilClient.is_unset(request.tags_shrink):
|
4051
4063
|
query['tags'] = request.tags_shrink
|
4052
4064
|
req = open_api_models.OpenApiRequest(
|
{alibabacloud_fc20230330-4.1.8 → alibabacloud_fc20230330-4.1.9}/alibabacloud_fc20230330/models.py
RENAMED
@@ -8134,20 +8134,26 @@ class ListFunctionVersionsResponse(TeaModel):
|
|
8134
8134
|
class ListFunctionsRequest(TeaModel):
|
8135
8135
|
def __init__(
|
8136
8136
|
self,
|
8137
|
+
description: str = None,
|
8137
8138
|
fc_version: str = None,
|
8139
|
+
gpu_type: str = None,
|
8138
8140
|
limit: int = None,
|
8139
8141
|
next_token: str = None,
|
8140
8142
|
prefix: str = None,
|
8143
|
+
runtime: str = None,
|
8141
8144
|
tags: List[Tag] = None,
|
8142
8145
|
):
|
8146
|
+
self.description = description
|
8143
8147
|
# The version of Function Compute to which the functions belong. Valid values: v3 and v2. v3: only lists functions of Function Compute 3.0. v2: only lists functions of Function Compute 2.0. By default, this parameter is left empty and functions in both Function Compute 3.0 and Function Compute 2.0 are listed.
|
8144
8148
|
self.fc_version = fc_version
|
8149
|
+
self.gpu_type = gpu_type
|
8145
8150
|
# The number of functions to return. The minimum value is 1 and the maximum value is 100.
|
8146
8151
|
self.limit = limit
|
8147
8152
|
# The pagination token.
|
8148
8153
|
self.next_token = next_token
|
8149
8154
|
# The prefix of the function name.
|
8150
8155
|
self.prefix = prefix
|
8156
|
+
self.runtime = runtime
|
8151
8157
|
self.tags = tags
|
8152
8158
|
|
8153
8159
|
def validate(self):
|
@@ -8162,14 +8168,20 @@ class ListFunctionsRequest(TeaModel):
|
|
8162
8168
|
return _map
|
8163
8169
|
|
8164
8170
|
result = dict()
|
8171
|
+
if self.description is not None:
|
8172
|
+
result['description'] = self.description
|
8165
8173
|
if self.fc_version is not None:
|
8166
8174
|
result['fcVersion'] = self.fc_version
|
8175
|
+
if self.gpu_type is not None:
|
8176
|
+
result['gpuType'] = self.gpu_type
|
8167
8177
|
if self.limit is not None:
|
8168
8178
|
result['limit'] = self.limit
|
8169
8179
|
if self.next_token is not None:
|
8170
8180
|
result['nextToken'] = self.next_token
|
8171
8181
|
if self.prefix is not None:
|
8172
8182
|
result['prefix'] = self.prefix
|
8183
|
+
if self.runtime is not None:
|
8184
|
+
result['runtime'] = self.runtime
|
8173
8185
|
result['tags'] = []
|
8174
8186
|
if self.tags is not None:
|
8175
8187
|
for k in self.tags:
|
@@ -8178,14 +8190,20 @@ class ListFunctionsRequest(TeaModel):
|
|
8178
8190
|
|
8179
8191
|
def from_map(self, m: dict = None):
|
8180
8192
|
m = m or dict()
|
8193
|
+
if m.get('description') is not None:
|
8194
|
+
self.description = m.get('description')
|
8181
8195
|
if m.get('fcVersion') is not None:
|
8182
8196
|
self.fc_version = m.get('fcVersion')
|
8197
|
+
if m.get('gpuType') is not None:
|
8198
|
+
self.gpu_type = m.get('gpuType')
|
8183
8199
|
if m.get('limit') is not None:
|
8184
8200
|
self.limit = m.get('limit')
|
8185
8201
|
if m.get('nextToken') is not None:
|
8186
8202
|
self.next_token = m.get('nextToken')
|
8187
8203
|
if m.get('prefix') is not None:
|
8188
8204
|
self.prefix = m.get('prefix')
|
8205
|
+
if m.get('runtime') is not None:
|
8206
|
+
self.runtime = m.get('runtime')
|
8189
8207
|
self.tags = []
|
8190
8208
|
if m.get('tags') is not None:
|
8191
8209
|
for k in m.get('tags'):
|
@@ -8197,20 +8215,26 @@ class ListFunctionsRequest(TeaModel):
|
|
8197
8215
|
class ListFunctionsShrinkRequest(TeaModel):
|
8198
8216
|
def __init__(
|
8199
8217
|
self,
|
8218
|
+
description: str = None,
|
8200
8219
|
fc_version: str = None,
|
8220
|
+
gpu_type: str = None,
|
8201
8221
|
limit: int = None,
|
8202
8222
|
next_token: str = None,
|
8203
8223
|
prefix: str = None,
|
8224
|
+
runtime: str = None,
|
8204
8225
|
tags_shrink: str = None,
|
8205
8226
|
):
|
8227
|
+
self.description = description
|
8206
8228
|
# The version of Function Compute to which the functions belong. Valid values: v3 and v2. v3: only lists functions of Function Compute 3.0. v2: only lists functions of Function Compute 2.0. By default, this parameter is left empty and functions in both Function Compute 3.0 and Function Compute 2.0 are listed.
|
8207
8229
|
self.fc_version = fc_version
|
8230
|
+
self.gpu_type = gpu_type
|
8208
8231
|
# The number of functions to return. The minimum value is 1 and the maximum value is 100.
|
8209
8232
|
self.limit = limit
|
8210
8233
|
# The pagination token.
|
8211
8234
|
self.next_token = next_token
|
8212
8235
|
# The prefix of the function name.
|
8213
8236
|
self.prefix = prefix
|
8237
|
+
self.runtime = runtime
|
8214
8238
|
self.tags_shrink = tags_shrink
|
8215
8239
|
|
8216
8240
|
def validate(self):
|
@@ -8222,28 +8246,40 @@ class ListFunctionsShrinkRequest(TeaModel):
|
|
8222
8246
|
return _map
|
8223
8247
|
|
8224
8248
|
result = dict()
|
8249
|
+
if self.description is not None:
|
8250
|
+
result['description'] = self.description
|
8225
8251
|
if self.fc_version is not None:
|
8226
8252
|
result['fcVersion'] = self.fc_version
|
8253
|
+
if self.gpu_type is not None:
|
8254
|
+
result['gpuType'] = self.gpu_type
|
8227
8255
|
if self.limit is not None:
|
8228
8256
|
result['limit'] = self.limit
|
8229
8257
|
if self.next_token is not None:
|
8230
8258
|
result['nextToken'] = self.next_token
|
8231
8259
|
if self.prefix is not None:
|
8232
8260
|
result['prefix'] = self.prefix
|
8261
|
+
if self.runtime is not None:
|
8262
|
+
result['runtime'] = self.runtime
|
8233
8263
|
if self.tags_shrink is not None:
|
8234
8264
|
result['tags'] = self.tags_shrink
|
8235
8265
|
return result
|
8236
8266
|
|
8237
8267
|
def from_map(self, m: dict = None):
|
8238
8268
|
m = m or dict()
|
8269
|
+
if m.get('description') is not None:
|
8270
|
+
self.description = m.get('description')
|
8239
8271
|
if m.get('fcVersion') is not None:
|
8240
8272
|
self.fc_version = m.get('fcVersion')
|
8273
|
+
if m.get('gpuType') is not None:
|
8274
|
+
self.gpu_type = m.get('gpuType')
|
8241
8275
|
if m.get('limit') is not None:
|
8242
8276
|
self.limit = m.get('limit')
|
8243
8277
|
if m.get('nextToken') is not None:
|
8244
8278
|
self.next_token = m.get('nextToken')
|
8245
8279
|
if m.get('prefix') is not None:
|
8246
8280
|
self.prefix = m.get('prefix')
|
8281
|
+
if m.get('runtime') is not None:
|
8282
|
+
self.runtime = m.get('runtime')
|
8247
8283
|
if m.get('tags') is not None:
|
8248
8284
|
self.tags_shrink = m.get('tags')
|
8249
8285
|
return self
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '4.1.8'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|