antchain-bot 1.8.94__py3-none-any.whl → 1.8.95__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.
- {antchain_bot-1.8.94.dist-info → antchain_bot-1.8.95.dist-info}/METADATA +1 -1
- antchain_bot-1.8.95.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +2 -2
- antchain_sdk_bot/models.py +8 -16
- antchain_bot-1.8.94.dist-info/RECORD +0 -8
- {antchain_bot-1.8.94.dist-info → antchain_bot-1.8.95.dist-info}/LICENSE +0 -0
- {antchain_bot-1.8.94.dist-info → antchain_bot-1.8.95.dist-info}/WHEEL +0 -0
- {antchain_bot-1.8.94.dist-info → antchain_bot-1.8.95.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
antchain_sdk_bot/__init__.py,sha256=IbVlw2rXZowO22DZEQxTazT-5FdboHjOpPch6FZpIX0,22
|
|
2
|
+
antchain_sdk_bot/client.py,sha256=RwLeWPVdYd-7AMaNfp686_mA7C6xgmD66vYoZ3iT1b8,444092
|
|
3
|
+
antchain_sdk_bot/models.py,sha256=EHevkNgimEu_wlXlkR-xJRH4-CjXYZVVPO1xjE1xMWI,1185698
|
|
4
|
+
antchain_bot-1.8.95.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
antchain_bot-1.8.95.dist-info/METADATA,sha256=Uny8OaMVSvie9WIBoR_W906nf6tr-BKFiSMnrDObxFM,1993
|
|
6
|
+
antchain_bot-1.8.95.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
7
|
+
antchain_bot-1.8.95.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
+
antchain_bot-1.8.95.dist-info/RECORD,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.8.
|
|
1
|
+
__version__ = '1.8.95'
|
antchain_sdk_bot/client.py
CHANGED
|
@@ -135,7 +135,7 @@ class Client:
|
|
|
135
135
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
136
136
|
'access_key': self._access_key_id,
|
|
137
137
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
138
|
-
'sdk_version': '1.8.
|
|
138
|
+
'sdk_version': '1.8.95',
|
|
139
139
|
'_prod_code': 'BOT',
|
|
140
140
|
'_prod_channel': 'undefined'
|
|
141
141
|
}
|
|
@@ -239,7 +239,7 @@ class Client:
|
|
|
239
239
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
240
240
|
'access_key': self._access_key_id,
|
|
241
241
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
242
|
-
'sdk_version': '1.8.
|
|
242
|
+
'sdk_version': '1.8.95',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
antchain_sdk_bot/models.py
CHANGED
|
@@ -784,16 +784,13 @@ class PermissionedTenantModel(TeaModel):
|
|
|
784
784
|
class QueryChainDataTransactionResultData(TeaModel):
|
|
785
785
|
def __init__(
|
|
786
786
|
self,
|
|
787
|
-
biz_id: str = None,
|
|
788
787
|
biz_scene: str = None,
|
|
789
788
|
data_scene: str = None,
|
|
790
789
|
asset_id: str = None,
|
|
791
790
|
tenant_id: str = None,
|
|
792
|
-
|
|
791
|
+
text_hash: str = None,
|
|
793
792
|
timestamp: int = None,
|
|
794
793
|
):
|
|
795
|
-
# 业务ID
|
|
796
|
-
self.biz_id = biz_id
|
|
797
794
|
# 所属业务
|
|
798
795
|
self.biz_scene = biz_scene
|
|
799
796
|
# 数据资产类型
|
|
@@ -802,18 +799,17 @@ class QueryChainDataTransactionResultData(TeaModel):
|
|
|
802
799
|
self.asset_id = asset_id
|
|
803
800
|
# 租户id
|
|
804
801
|
self.tenant_id = tenant_id
|
|
805
|
-
#
|
|
806
|
-
self.
|
|
802
|
+
# 业务数据hash
|
|
803
|
+
self.text_hash = text_hash
|
|
807
804
|
# 时间
|
|
808
805
|
self.timestamp = timestamp
|
|
809
806
|
|
|
810
807
|
def validate(self):
|
|
811
|
-
self.validate_required(self.biz_id, 'biz_id')
|
|
812
808
|
self.validate_required(self.biz_scene, 'biz_scene')
|
|
813
809
|
self.validate_required(self.data_scene, 'data_scene')
|
|
814
810
|
self.validate_required(self.asset_id, 'asset_id')
|
|
815
811
|
self.validate_required(self.tenant_id, 'tenant_id')
|
|
816
|
-
self.validate_required(self.
|
|
812
|
+
self.validate_required(self.text_hash, 'text_hash')
|
|
817
813
|
|
|
818
814
|
def to_map(self):
|
|
819
815
|
_map = super().to_map()
|
|
@@ -821,8 +817,6 @@ class QueryChainDataTransactionResultData(TeaModel):
|
|
|
821
817
|
return _map
|
|
822
818
|
|
|
823
819
|
result = dict()
|
|
824
|
-
if self.biz_id is not None:
|
|
825
|
-
result['biz_id'] = self.biz_id
|
|
826
820
|
if self.biz_scene is not None:
|
|
827
821
|
result['biz_scene'] = self.biz_scene
|
|
828
822
|
if self.data_scene is not None:
|
|
@@ -831,16 +825,14 @@ class QueryChainDataTransactionResultData(TeaModel):
|
|
|
831
825
|
result['asset_id'] = self.asset_id
|
|
832
826
|
if self.tenant_id is not None:
|
|
833
827
|
result['tenant_id'] = self.tenant_id
|
|
834
|
-
if self.
|
|
835
|
-
result['
|
|
828
|
+
if self.text_hash is not None:
|
|
829
|
+
result['text_hash'] = self.text_hash
|
|
836
830
|
if self.timestamp is not None:
|
|
837
831
|
result['timestamp'] = self.timestamp
|
|
838
832
|
return result
|
|
839
833
|
|
|
840
834
|
def from_map(self, m: dict = None):
|
|
841
835
|
m = m or dict()
|
|
842
|
-
if m.get('biz_id') is not None:
|
|
843
|
-
self.biz_id = m.get('biz_id')
|
|
844
836
|
if m.get('biz_scene') is not None:
|
|
845
837
|
self.biz_scene = m.get('biz_scene')
|
|
846
838
|
if m.get('data_scene') is not None:
|
|
@@ -849,8 +841,8 @@ class QueryChainDataTransactionResultData(TeaModel):
|
|
|
849
841
|
self.asset_id = m.get('asset_id')
|
|
850
842
|
if m.get('tenant_id') is not None:
|
|
851
843
|
self.tenant_id = m.get('tenant_id')
|
|
852
|
-
if m.get('
|
|
853
|
-
self.
|
|
844
|
+
if m.get('text_hash') is not None:
|
|
845
|
+
self.text_hash = m.get('text_hash')
|
|
854
846
|
if m.get('timestamp') is not None:
|
|
855
847
|
self.timestamp = m.get('timestamp')
|
|
856
848
|
return self
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
antchain_sdk_bot/__init__.py,sha256=MXcHSh1sNTvYwLeoTliZbRhO9x3sTB2nSCW4YN4m4Cg,22
|
|
2
|
-
antchain_sdk_bot/client.py,sha256=_UP01ahBCqkU8D3NxNE6lWGPJY7mXSpaG--2J9_X8hs,444092
|
|
3
|
-
antchain_sdk_bot/models.py,sha256=QjoP5WmOkc9znJarbwvfLhydleLqNaEJy0uGeToSKpE,1185996
|
|
4
|
-
antchain_bot-1.8.94.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
antchain_bot-1.8.94.dist-info/METADATA,sha256=Xv_BN4hcEvR2HLZrSPtM_bh5vRarToGpH57Gz-w_AJQ,1993
|
|
6
|
-
antchain_bot-1.8.94.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
7
|
-
antchain_bot-1.8.94.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
-
antchain_bot-1.8.94.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|