diff --git a/docs/en/14-reference/03-connector/python.mdx b/docs/en/14-reference/03-connector/python.mdx index 1e2eecb260c71fb77d9b159a4841b40cc188b008..20e8f7348cb8c669bcb2d993f08c6206750f2aa8 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 38b64a8aef35cb2ef05d6b35df41812d5200f689..ecd84fe9a146d2ecdd3254244ada706c1595280d 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}} ```