alibabacloud-quanmiaolightapp20240801 2.10.3__tar.gz → 2.11.1__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.
Files changed (17) hide show
  1. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/ChangeLog.md +7 -0
  2. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/PKG-INFO +1 -1
  3. alibabacloud_quanmiaolightapp20240801-2.11.1/alibabacloud_quanmiaolightapp20240801/__init__.py +1 -0
  4. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801/client.py +108 -0
  5. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801/models.py +155 -0
  6. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801.egg-info/requires.txt +1 -1
  8. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/setup.py +2 -2
  9. alibabacloud_quanmiaolightapp20240801-2.10.3/alibabacloud_quanmiaolightapp20240801/__init__.py +0 -1
  10. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/LICENSE +0 -0
  11. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/MANIFEST.in +0 -0
  12. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/README-CN.md +0 -0
  13. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/README.md +0 -0
  14. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/alibabacloud_quanmiaolightapp20240801.egg-info/top_level.txt +0 -0
  17. {alibabacloud_quanmiaolightapp20240801-2.10.3 → alibabacloud_quanmiaolightapp20240801-2.11.1}/setup.cfg +0 -0
@@ -1,3 +1,10 @@
1
+ 2025-08-23 Version: 2.11.0
2
+ - Support API GetFileContent.
3
+
4
+
5
+ 2025-08-01 Version: 2.10.3
6
+ - Generated python 2024-08-01 for QuanMiaoLightApp.
7
+
1
8
  2025-07-29 Version: 2.10.2
2
9
  - Update API GetVideoAnalysisTask: add response parameters Body.data.payload.output.videoRoleRecognitionResult.
3
10
  - Update API RunVideoAnalysis: add request parameters autoRoleRecognitionVideoUrl.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_quanmiaolightapp20240801
3
- Version: 2.10.3
3
+ Version: 2.11.1
4
4
  Summary: Alibaba Cloud QuanMiaoLightApp (20240801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -729,6 +729,114 @@ class Client(OpenApiClient):
729
729
  headers = {}
730
730
  return await self.get_essay_correction_task_with_options_async(workspace_id, request, headers, runtime)
731
731
 
732
+ def get_file_content_with_options(
733
+ self,
734
+ workspace_id: str,
735
+ request: quan_miao_light_app_20240801_models.GetFileContentRequest,
736
+ headers: Dict[str, str],
737
+ runtime: util_models.RuntimeOptions,
738
+ ) -> quan_miao_light_app_20240801_models.GetFileContentResponse:
739
+ """
740
+ @summary 获取文件内容
741
+
742
+ @param request: GetFileContentRequest
743
+ @param headers: map
744
+ @param runtime: runtime options for this request RuntimeOptions
745
+ @return: GetFileContentResponse
746
+ """
747
+ UtilClient.validate_model(request)
748
+ body = {}
749
+ if not UtilClient.is_unset(request.file_key):
750
+ body['fileKey'] = request.file_key
751
+ req = open_api_models.OpenApiRequest(
752
+ headers=headers,
753
+ body=OpenApiUtilClient.parse_to_map(body)
754
+ )
755
+ params = open_api_models.Params(
756
+ action='GetFileContent',
757
+ version='2024-08-01',
758
+ protocol='HTTPS',
759
+ pathname=f'/{OpenApiUtilClient.get_encode_param(workspace_id)}/quanmiao/lightapp/getFileContent',
760
+ method='POST',
761
+ auth_type='AK',
762
+ style='ROA',
763
+ req_body_type='formData',
764
+ body_type='json'
765
+ )
766
+ return TeaCore.from_map(
767
+ quan_miao_light_app_20240801_models.GetFileContentResponse(),
768
+ self.call_api(params, req, runtime)
769
+ )
770
+
771
+ async def get_file_content_with_options_async(
772
+ self,
773
+ workspace_id: str,
774
+ request: quan_miao_light_app_20240801_models.GetFileContentRequest,
775
+ headers: Dict[str, str],
776
+ runtime: util_models.RuntimeOptions,
777
+ ) -> quan_miao_light_app_20240801_models.GetFileContentResponse:
778
+ """
779
+ @summary 获取文件内容
780
+
781
+ @param request: GetFileContentRequest
782
+ @param headers: map
783
+ @param runtime: runtime options for this request RuntimeOptions
784
+ @return: GetFileContentResponse
785
+ """
786
+ UtilClient.validate_model(request)
787
+ body = {}
788
+ if not UtilClient.is_unset(request.file_key):
789
+ body['fileKey'] = request.file_key
790
+ req = open_api_models.OpenApiRequest(
791
+ headers=headers,
792
+ body=OpenApiUtilClient.parse_to_map(body)
793
+ )
794
+ params = open_api_models.Params(
795
+ action='GetFileContent',
796
+ version='2024-08-01',
797
+ protocol='HTTPS',
798
+ pathname=f'/{OpenApiUtilClient.get_encode_param(workspace_id)}/quanmiao/lightapp/getFileContent',
799
+ method='POST',
800
+ auth_type='AK',
801
+ style='ROA',
802
+ req_body_type='formData',
803
+ body_type='json'
804
+ )
805
+ return TeaCore.from_map(
806
+ quan_miao_light_app_20240801_models.GetFileContentResponse(),
807
+ await self.call_api_async(params, req, runtime)
808
+ )
809
+
810
+ def get_file_content(
811
+ self,
812
+ workspace_id: str,
813
+ request: quan_miao_light_app_20240801_models.GetFileContentRequest,
814
+ ) -> quan_miao_light_app_20240801_models.GetFileContentResponse:
815
+ """
816
+ @summary 获取文件内容
817
+
818
+ @param request: GetFileContentRequest
819
+ @return: GetFileContentResponse
820
+ """
821
+ runtime = util_models.RuntimeOptions()
822
+ headers = {}
823
+ return self.get_file_content_with_options(workspace_id, request, headers, runtime)
824
+
825
+ async def get_file_content_async(
826
+ self,
827
+ workspace_id: str,
828
+ request: quan_miao_light_app_20240801_models.GetFileContentRequest,
829
+ ) -> quan_miao_light_app_20240801_models.GetFileContentResponse:
830
+ """
831
+ @summary 获取文件内容
832
+
833
+ @param request: GetFileContentRequest
834
+ @return: GetFileContentResponse
835
+ """
836
+ runtime = util_models.RuntimeOptions()
837
+ headers = {}
838
+ return await self.get_file_content_with_options_async(workspace_id, request, headers, runtime)
839
+
732
840
  def get_tag_mining_analysis_task_with_options(
733
841
  self,
734
842
  workspace_id: str,
@@ -1521,6 +1521,161 @@ class GetEssayCorrectionTaskResponse(TeaModel):
1521
1521
  return self
1522
1522
 
1523
1523
 
1524
+ class GetFileContentRequest(TeaModel):
1525
+ def __init__(
1526
+ self,
1527
+ file_key: str = None,
1528
+ ):
1529
+ self.file_key = file_key
1530
+
1531
+ def validate(self):
1532
+ pass
1533
+
1534
+ def to_map(self):
1535
+ _map = super().to_map()
1536
+ if _map is not None:
1537
+ return _map
1538
+
1539
+ result = dict()
1540
+ if self.file_key is not None:
1541
+ result['fileKey'] = self.file_key
1542
+ return result
1543
+
1544
+ def from_map(self, m: dict = None):
1545
+ m = m or dict()
1546
+ if m.get('fileKey') is not None:
1547
+ self.file_key = m.get('fileKey')
1548
+ return self
1549
+
1550
+
1551
+ class GetFileContentResponseBodyData(TeaModel):
1552
+ def __init__(
1553
+ self,
1554
+ content: str = None,
1555
+ ):
1556
+ self.content = content
1557
+
1558
+ def validate(self):
1559
+ pass
1560
+
1561
+ def to_map(self):
1562
+ _map = super().to_map()
1563
+ if _map is not None:
1564
+ return _map
1565
+
1566
+ result = dict()
1567
+ if self.content is not None:
1568
+ result['content'] = self.content
1569
+ return result
1570
+
1571
+ def from_map(self, m: dict = None):
1572
+ m = m or dict()
1573
+ if m.get('content') is not None:
1574
+ self.content = m.get('content')
1575
+ return self
1576
+
1577
+
1578
+ class GetFileContentResponseBody(TeaModel):
1579
+ def __init__(
1580
+ self,
1581
+ code: str = None,
1582
+ data: GetFileContentResponseBodyData = None,
1583
+ http_status_code: int = None,
1584
+ message: str = None,
1585
+ request_id: str = None,
1586
+ success: str = None,
1587
+ ):
1588
+ self.code = code
1589
+ self.data = data
1590
+ self.http_status_code = http_status_code
1591
+ self.message = message
1592
+ # Id of the request
1593
+ self.request_id = request_id
1594
+ self.success = success
1595
+
1596
+ def validate(self):
1597
+ if self.data:
1598
+ self.data.validate()
1599
+
1600
+ def to_map(self):
1601
+ _map = super().to_map()
1602
+ if _map is not None:
1603
+ return _map
1604
+
1605
+ result = dict()
1606
+ if self.code is not None:
1607
+ result['code'] = self.code
1608
+ if self.data is not None:
1609
+ result['data'] = self.data.to_map()
1610
+ if self.http_status_code is not None:
1611
+ result['httpStatusCode'] = self.http_status_code
1612
+ if self.message is not None:
1613
+ result['message'] = self.message
1614
+ if self.request_id is not None:
1615
+ result['requestId'] = self.request_id
1616
+ if self.success is not None:
1617
+ result['success'] = self.success
1618
+ return result
1619
+
1620
+ def from_map(self, m: dict = None):
1621
+ m = m or dict()
1622
+ if m.get('code') is not None:
1623
+ self.code = m.get('code')
1624
+ if m.get('data') is not None:
1625
+ temp_model = GetFileContentResponseBodyData()
1626
+ self.data = temp_model.from_map(m['data'])
1627
+ if m.get('httpStatusCode') is not None:
1628
+ self.http_status_code = m.get('httpStatusCode')
1629
+ if m.get('message') is not None:
1630
+ self.message = m.get('message')
1631
+ if m.get('requestId') is not None:
1632
+ self.request_id = m.get('requestId')
1633
+ if m.get('success') is not None:
1634
+ self.success = m.get('success')
1635
+ return self
1636
+
1637
+
1638
+ class GetFileContentResponse(TeaModel):
1639
+ def __init__(
1640
+ self,
1641
+ headers: Dict[str, str] = None,
1642
+ status_code: int = None,
1643
+ body: GetFileContentResponseBody = None,
1644
+ ):
1645
+ self.headers = headers
1646
+ self.status_code = status_code
1647
+ self.body = body
1648
+
1649
+ def validate(self):
1650
+ if self.body:
1651
+ self.body.validate()
1652
+
1653
+ def to_map(self):
1654
+ _map = super().to_map()
1655
+ if _map is not None:
1656
+ return _map
1657
+
1658
+ result = dict()
1659
+ if self.headers is not None:
1660
+ result['headers'] = self.headers
1661
+ if self.status_code is not None:
1662
+ result['statusCode'] = self.status_code
1663
+ if self.body is not None:
1664
+ result['body'] = self.body.to_map()
1665
+ return result
1666
+
1667
+ def from_map(self, m: dict = None):
1668
+ m = m or dict()
1669
+ if m.get('headers') is not None:
1670
+ self.headers = m.get('headers')
1671
+ if m.get('statusCode') is not None:
1672
+ self.status_code = m.get('statusCode')
1673
+ if m.get('body') is not None:
1674
+ temp_model = GetFileContentResponseBody()
1675
+ self.body = temp_model.from_map(m['body'])
1676
+ return self
1677
+
1678
+
1524
1679
  class GetTagMiningAnalysisTaskRequest(TeaModel):
1525
1680
  def __init__(
1526
1681
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-quanmiaolightapp20240801
3
- Version: 2.10.3
3
+ Version: 2.11.1
4
4
  Summary: Alibaba Cloud QuanMiaoLightApp (20240801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1,4 +1,4 @@
1
1
  alibabacloud_endpoint_util<1.0.0,>=0.0.4
2
2
  alibabacloud_openapi_util<1.0.0,>=0.2.2
3
- alibabacloud_tea_openapi<1.0.0,>=0.3.15
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.16
4
4
  alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_quanmiaolightapp20240801.
26
26
 
27
- Created on 01/08/2025
27
+ Created on 03/09/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.15, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.16, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.4, <1.0.0"
44
44
  ]