From 479cd003a09bcce29e220dab0a380489464ec718 Mon Sep 17 00:00:00 2001 From: Bo Ding Date: Mon, 1 Aug 2022 16:27:19 +0800 Subject: [PATCH] docs: typo in python connector reference (#15633) * docs: type in python connector reference * docs: grammer error --- docs/en/14-reference/03-connector/python.mdx | 7 ++++--- docs/zh/14-reference/03-connector/python.mdx | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/en/14-reference/03-connector/python.mdx b/docs/en/14-reference/03-connector/python.mdx index 1e2eecb260..20e8f7348c 100644 --- a/docs/en/14-reference/03-connector/python.mdx +++ b/docs/en/14-reference/03-connector/python.mdx @@ -110,6 +110,7 @@ If you have multiple versions of Python on your system, you may have various `pi C:\> pip3 install taospy Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: taospy in c:\users\username\appdata\local\programs\python\python310\lib\site-packages (2.3.0) +``` ::: @@ -255,7 +256,7 @@ The TaosCursor class uses native connections for write and query operations. In ##### Use of TaosRestCursor class -The ``TaosRestCursor`` class is an implementation of the PEP249 Cursor interface. +The `TaosRestCursor` class is an implementation of the PEP249 Cursor interface. ```python title="Use of TaosRestCursor" {{#include docs/examples/python/connect_rest_examples.py:basic}} @@ -294,7 +295,7 @@ For a more detailed description of the `sql()` method, please refer to [RestClie ``` - + ```python @@ -305,7 +306,7 @@ For a more detailed description of the `sql()` method, please refer to [RestClie ```python -{{#include docs/examples/python/conn_rest_sqlachemy.py}} +{{#include docs/examples/python/conn_rest_sqlalchemy.py}} ``` diff --git a/docs/zh/14-reference/03-connector/python.mdx b/docs/zh/14-reference/03-connector/python.mdx index 38b64a8aef..ecd84fe9a1 100644 --- a/docs/zh/14-reference/03-connector/python.mdx +++ b/docs/zh/14-reference/03-connector/python.mdx @@ -306,7 +306,7 @@ TaosCursor 类使用原生连接进行写入、查询操作。在客户端多线 ```python -{{#include docs/examples/python/conn_rest_sqlachemy.py}} +{{#include docs/examples/python/conn_rest_sqlalchemy.py}} ``` -- GitLab