alibabacloud-fc20230330 4.1.1__py3-none-any.whl → 4.1.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.
- alibabacloud_fc20230330/__init__.py +1 -1
- alibabacloud_fc20230330/models.py +12 -0
- {alibabacloud_fc20230330-4.1.1.dist-info → alibabacloud_fc20230330-4.1.2.dist-info}/METADATA +1 -1
- alibabacloud_fc20230330-4.1.2.dist-info/RECORD +8 -0
- alibabacloud_fc20230330-4.1.1.dist-info/RECORD +0 -8
- {alibabacloud_fc20230330-4.1.1.dist-info → alibabacloud_fc20230330-4.1.2.dist-info}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.1.1.dist-info → alibabacloud_fc20230330-4.1.2.dist-info}/WHEEL +0 -0
- {alibabacloud_fc20230330-4.1.1.dist-info → alibabacloud_fc20230330-4.1.2.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = '4.1.
|
1
|
+
__version__ = '4.1.2'
|
@@ -4114,6 +4114,7 @@ class ProvisionConfig(TeaModel):
|
|
4114
4114
|
def __init__(
|
4115
4115
|
self,
|
4116
4116
|
always_allocate_cpu: bool = None,
|
4117
|
+
always_allocate_gpu: bool = None,
|
4117
4118
|
current: int = None,
|
4118
4119
|
current_error: str = None,
|
4119
4120
|
function_arn: str = None,
|
@@ -4122,6 +4123,7 @@ class ProvisionConfig(TeaModel):
|
|
4122
4123
|
target_tracking_policies: List[TargetTrackingPolicy] = None,
|
4123
4124
|
):
|
4124
4125
|
self.always_allocate_cpu = always_allocate_cpu
|
4126
|
+
self.always_allocate_gpu = always_allocate_gpu
|
4125
4127
|
self.current = current
|
4126
4128
|
self.current_error = current_error
|
4127
4129
|
self.function_arn = function_arn
|
@@ -4147,6 +4149,8 @@ class ProvisionConfig(TeaModel):
|
|
4147
4149
|
result = dict()
|
4148
4150
|
if self.always_allocate_cpu is not None:
|
4149
4151
|
result['alwaysAllocateCPU'] = self.always_allocate_cpu
|
4152
|
+
if self.always_allocate_gpu is not None:
|
4153
|
+
result['alwaysAllocateGPU'] = self.always_allocate_gpu
|
4150
4154
|
if self.current is not None:
|
4151
4155
|
result['current'] = self.current
|
4152
4156
|
if self.current_error is not None:
|
@@ -4169,6 +4173,8 @@ class ProvisionConfig(TeaModel):
|
|
4169
4173
|
m = m or dict()
|
4170
4174
|
if m.get('alwaysAllocateCPU') is not None:
|
4171
4175
|
self.always_allocate_cpu = m.get('alwaysAllocateCPU')
|
4176
|
+
if m.get('alwaysAllocateGPU') is not None:
|
4177
|
+
self.always_allocate_gpu = m.get('alwaysAllocateGPU')
|
4172
4178
|
if m.get('current') is not None:
|
4173
4179
|
self.current = m.get('current')
|
4174
4180
|
if m.get('currentError') is not None:
|
@@ -4877,11 +4883,13 @@ class PutProvisionConfigInput(TeaModel):
|
|
4877
4883
|
def __init__(
|
4878
4884
|
self,
|
4879
4885
|
always_allocate_cpu: bool = None,
|
4886
|
+
always_allocate_gpu: bool = None,
|
4880
4887
|
scheduled_actions: List[ScheduledAction] = None,
|
4881
4888
|
target: int = None,
|
4882
4889
|
target_tracking_policies: List[TargetTrackingPolicy] = None,
|
4883
4890
|
):
|
4884
4891
|
self.always_allocate_cpu = always_allocate_cpu
|
4892
|
+
self.always_allocate_gpu = always_allocate_gpu
|
4885
4893
|
self.scheduled_actions = scheduled_actions
|
4886
4894
|
# This parameter is required.
|
4887
4895
|
self.target = target
|
@@ -4905,6 +4913,8 @@ class PutProvisionConfigInput(TeaModel):
|
|
4905
4913
|
result = dict()
|
4906
4914
|
if self.always_allocate_cpu is not None:
|
4907
4915
|
result['alwaysAllocateCPU'] = self.always_allocate_cpu
|
4916
|
+
if self.always_allocate_gpu is not None:
|
4917
|
+
result['alwaysAllocateGPU'] = self.always_allocate_gpu
|
4908
4918
|
result['scheduledActions'] = []
|
4909
4919
|
if self.scheduled_actions is not None:
|
4910
4920
|
for k in self.scheduled_actions:
|
@@ -4921,6 +4931,8 @@ class PutProvisionConfigInput(TeaModel):
|
|
4921
4931
|
m = m or dict()
|
4922
4932
|
if m.get('alwaysAllocateCPU') is not None:
|
4923
4933
|
self.always_allocate_cpu = m.get('alwaysAllocateCPU')
|
4934
|
+
if m.get('alwaysAllocateGPU') is not None:
|
4935
|
+
self.always_allocate_gpu = m.get('alwaysAllocateGPU')
|
4924
4936
|
self.scheduled_actions = []
|
4925
4937
|
if m.get('scheduledActions') is not None:
|
4926
4938
|
for k in m.get('scheduledActions'):
|
@@ -0,0 +1,8 @@
|
|
1
|
+
alibabacloud_fc20230330/__init__.py,sha256=Q1kc4yZVJCde5u2k5QGBDcAyUKkNxEYKZUaMCnMKYIg,21
|
2
|
+
alibabacloud_fc20230330/client.py,sha256=nKYk4AqMunzCDME9p__X17GefH9Sy1I2Dpt0O5WGwK8,207793
|
3
|
+
alibabacloud_fc20230330/models.py,sha256=02zr6ypojScE3fwOskZtyWa3eMklrvuS-TN4ZMD9LaU,293288
|
4
|
+
alibabacloud_fc20230330-4.1.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
+
alibabacloud_fc20230330-4.1.2.dist-info/METADATA,sha256=klt2u7Tn1YSvfGs2kLjDiil2W6ue1qqdCmlNAZvb3hI,2291
|
6
|
+
alibabacloud_fc20230330-4.1.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
7
|
+
alibabacloud_fc20230330-4.1.2.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
+
alibabacloud_fc20230330-4.1.2.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
alibabacloud_fc20230330/__init__.py,sha256=9s_-kFNVIJvwc6-4mHs-DFU56OCC5TEDwXiEgMZS1Yg,21
|
2
|
-
alibabacloud_fc20230330/client.py,sha256=nKYk4AqMunzCDME9p__X17GefH9Sy1I2Dpt0O5WGwK8,207793
|
3
|
-
alibabacloud_fc20230330/models.py,sha256=66bp1-tmeoW6SvU0DkvUWhRbELCGarsfkcDn6SegbYw,292628
|
4
|
-
alibabacloud_fc20230330-4.1.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
-
alibabacloud_fc20230330-4.1.1.dist-info/METADATA,sha256=IaiLBk_7jGoCDgjs3dCAPmorhqCtNtqlRubSQEGVxbQ,2291
|
6
|
-
alibabacloud_fc20230330-4.1.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
7
|
-
alibabacloud_fc20230330-4.1.1.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
-
alibabacloud_fc20230330-4.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{alibabacloud_fc20230330-4.1.1.dist-info → alibabacloud_fc20230330-4.1.2.dist-info}/top_level.txt
RENAMED
File without changes
|