8000 Dataphin OpenAPI v5.3.0 changes · aliyun/aliyun-openapi-python-sdk@922a4a4 · GitHub < 8000 meta name="twitter:card" content="summary_large_image" />
[go: up one dir, main page]

Skip to content

Commit 922a4a4

Browse files
committed
Dataphin OpenAPI v5.3.0 changes
1 parent 9ec5b0c commit 922a4a4

File tree

5 files changed

+123
-1
lines changed

5 files changed

+123
-1
lines changed

aliyun-python-sdk-dataphin-public/ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-08-29 Version: 1.0.12
2+
- Dataphin OpenAPI v5.3.0 changes
3+
- Add api GetTransferInfo.
4+
- Add api RetryTransferOwnership.
5+
- Add api TransferOwnershipForAllObject.
6+
17
2025-07-30 Version: 1.0.11
28
- Add DataService OpenAPIs.
39
- Add Udf OpenAPIs.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.11'
1+
__version__ = '1.0.12'
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetTransferInfoRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetTransferInfo')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_OpTenantId(self): # Long
30+
return self.get_query_params().get('OpTenantId')
31+
32+
def set_OpTenantId(self, OpTenantId): # Long
33+
self.add_query_param('OpTenantId', OpTenantId)
34+
def get_ProposalId(self): # Long
35+
return self.get_query_params().get('ProposalId')
36+
37+
def set_ProposalId(self, ProposalId): # Long
38+
self.add_query_param('ProposalId', ProposalId)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
import json
22+
23+
class RetryTransferOwnershipRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'RetryTransferOwnership')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_PrivilegeTransferRecord(self): # Struct
36+
return self.get_body_params().get('PrivilegeTransferRecord')
37+
38+
def set_PrivilegeTransferRecord(self, PrivilegeTransferRecord): # Struct
39+
self.add_body_params("PrivilegeTransferRecord", json.dumps(PrivilegeTransferRecord))
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
import json
22+
23+
class TransferOwnershipForAllObjectRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'TransferOwnershipForAllObject')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_PrivilegeTransferRecord(self): # Struct
36+
return self.get_body_params().get('PrivilegeTransferRecord')
37+
38+
def set_PrivilegeTransferRecord(self, PrivilegeTransferRecord): # Struct
39+
self.add_body_params("PrivilegeTransferRecord", json.dumps(PrivilegeTransferRecord))

0 commit comments

Comments
 (0)
0