You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,12 @@ The method `easy_invoke` will attempt to infer the return value in the given Clo
106
106
107
107
**Tips:** If an error occurs for a given Cloud Function runtime, an `InvokeError` exception is thrown. The above exceptions are defined in the `tencent.cloud.serverless.functions.errors` module.
108
108
109
+
#### Close product client
110
+
When the instantiated client is no longer in use, we should explicitly close it:
111
+
```python
112
+
function_client.close()
113
+
```
114
+
109
115
See the [examples source code](examples) for the complete demo code.
0 commit comments