commit | 0b934ce921237263e36c2c135039bf4a79ce6d7c | [log] [tgz] |
---|---|---|
author | tison <wander4096@gmail.com> | Mon Apr 17 10:25:40 2023 +0800 |
committer | GitHub <noreply@github.com> | Mon Apr 17 10:25:40 2023 +0800 |
tree | 75a44c3007ef216c7a661ea565be95afbf85681d | |
parent | 527f7d6243bf85b633f6c4176cddfd17f311a6f8 [diff] |
docs: add async prefix for async fn define (#68)
diff --git a/docs/src/en/sdk/python.md b/docs/src/en/sdk/python.md index c016ac6..927ca7a 100644 --- a/docs/src/en/sdk/python.md +++ b/docs/src/en/sdk/python.md
@@ -60,7 +60,7 @@ Here is a example for creating table by the initialized client: ```python -def async_query(client, ctx, req): +async def async_query(client, ctx, req): await client.sql_query(ctx, req) create_table_sql = 'CREATE TABLE IF NOT EXISTS demo ( \