From 019018a83527a2133b7b5fbb79e40a441390dd18 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 11 Aug 2022 11:52:04 +0000 Subject: [PATCH] =?UTF-8?q?[WIP]mocktest=E5=8F=98=E6=88=90=E5=BE=85?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=EF=BC=8C=E8=AF=B7=E5=8B=BF=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fc-open-20210406/.gitignore | 17 +-- .../alibabacloud_fc_open20210406/__init__.py | 2 +- .../alibabacloud_fc_open20210406/client.py | 134 ------------------ fc-open-20210406/setup.py | 5 +- 4 files changed, 6 insertions(+), 152 deletions(-) diff --git a/fc-open-20210406/.gitignore b/fc-open-20210406/.gitignore index bf852200a..2bcfffaef 100644 --- a/fc-open-20210406/.gitignore +++ b/fc-open-20210406/.gitignore @@ -1,14 +1,5 @@ -composer.phar -/vendor/ - -# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control -# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file -composer.lock - -.vscode/ -.idea -.DS_Store - -cache/ -*.cache runtime/ +.idea/ +.vscode/ +__pycache__/ +.pytest_cache/ \ No newline at end of file diff --git a/fc-open-20210406/alibabacloud_fc_open20210406/__init__.py b/fc-open-20210406/alibabacloud_fc_open20210406/__init__.py index 7086f45ac..5becc17c0 100644 --- a/fc-open-20210406/alibabacloud_fc_open20210406/__init__.py +++ b/fc-open-20210406/alibabacloud_fc_open20210406/__init__.py @@ -1 +1 @@ -__version__ = '1.1.9' \ No newline at end of file +__version__ = "1.0.0" diff --git a/fc-open-20210406/alibabacloud_fc_open20210406/client.py b/fc-open-20210406/alibabacloud_fc_open20210406/client.py index c96e956da..73693d976 100644 --- a/fc-open-20210406/alibabacloud_fc_open20210406/client.py +++ b/fc-open-20210406/alibabacloud_fc_open20210406/client.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. -from requests import Response, Request from typing import Dict from Tea.core import TeaCore @@ -11,7 +10,6 @@ from alibabacloud_fc_open20210406 import models as fc__open_20210406_models from alibabacloud_tea_util import models as util_models from alibabacloud_openapi_util.client import Client as OpenApiUtilClient -from alibabacloud_gateway_fc_util.client import Client as FCUtilClient class Client(OpenApiClient): @@ -7063,135 +7061,3 @@ async def update_trigger_with_options_async( fc__open_20210406_models.UpdateTriggerResponse(), await self.call_api_async(params, req, runtime) ) - - def invoke_httptrigger( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.invoke_httptrigger(url, method, body, headers) - - async def invoke_httptrigger_async( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.invoke_httptrigger_async(url, method, body, headers) - - def invoke_anonymous_httptrigger( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.invoke_anonymous_httptrigger(url, method, body, headers) - - async def invoke_anonymous_httptrigger_async( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.invoke_anonymous_httptrigger_async(url, method, body, headers) - - def send_httprequest_with_authorization( - self, - req: Request, - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.send_httprequest_with_authorization(req) - - async def send_httprequest_with_authorization_async( - self, - req: Request, - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.send_httprequest_with_authorization_async(req) - - def send_httprequest( - self, - req: Request, - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.send_httprequest(req) - - async def send_httprequest_async( - self, - req: Request, - ) -> Response: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.send_httprequest_async(req) - - def sign_request( - self, - req: Request, - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.sign_request(req) - - async def sign_request_async( - self, - req: Request, - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.sign_request_async(req) - - def sign_request_with_content_md5( - self, - req: Request, - content_md5: str, - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.sign_request_with_content_md5(req, content_md5) - - async def sign_request_with_content_md5_async( - self, - req: Request, - content_md5: str, - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.sign_request_with_content_md5_async(req, content_md5) - - def build_httprequest( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return util_client.build_httprequest(url, method, body, headers) - - async def build_httprequest_async( - self, - url: str, - method: str, - body: bytes, - headers: Dict[str, str], - ) -> Request: - cred = self._credential - util_client = FCUtilClient(cred) - return await util_client.build_httprequest_async(url, method, body, headers) diff --git a/fc-open-20210406/setup.py b/fc-open-20210406/setup.py index 8d473e581..014ea5e8b 100644 --- a/fc-open-20210406/setup.py +++ b/fc-open-20210406/setup.py @@ -40,10 +40,7 @@ "alibabacloud_tea_util>=0.3.6, <1.0.0", "alibabacloud_tea_openapi>=0.3.3, <1.0.0", "alibabacloud_openapi_util>=0.1.6, <1.0.0", - "alibabacloud_endpoint_util>=0.0.3, <1.0.0", - "alibabacloud_credentials>=0.2.0, <1.0.0", - "requests>=2.21.0, <3.0.0", - "alibabacloud_gateway_fc_util>=0.0.3, <1.0.0" + "alibabacloud_endpoint_util>=0.0.3, <1.0.0" ] LONG_DESCRIPTION = ''