diff --git a/docs/en/07-develop/07-subscribe.mdx b/docs/en/07-develop/07-subscribe.mdx index 782fcdbaf221419dd231bd10958e26b8f4f856e5..0fde36f6cff912c82ab58e641f0f38021ea1676a 100644 --- a/docs/en/07-develop/07-subscribe.mdx +++ b/docs/en/07-develop/07-subscribe.mdx @@ -218,9 +218,6 @@ Query OK, 5 row(s) in set (0.004896s) {/* */} - - - {/* diff --git a/docs/en/14-reference/03-connector/python.mdx b/docs/en/14-reference/03-connector/python.mdx index 1e2eecb260c71fb77d9b159a4841b40cc188b008..c992d4fcf6803f914aa778b22d8c8c18d22d4bfb 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,18 +295,17 @@ For a more detailed description of the `sql()` method, please refer to [RestClie ``` - - + ```python {{#include docs/examples/python/conn_native_sqlalchemy.py}} ``` - + ```python -{{#include docs/examples/python/conn_rest_sqlachemy.py}} +{{#include docs/examples/python/conn_rest_sqlalchemy.py}} ``` diff --git a/docs/zh/07-develop/07-subscribe.mdx b/docs/zh/07-develop/07-subscribe.mdx index 0f531e07c9dce7dbb03bacebf8e5cbefae82671f..962ed72e3075310b38d8705234b1f9eb942e082f 100644 --- a/docs/zh/07-develop/07-subscribe.mdx +++ b/docs/zh/07-develop/07-subscribe.mdx @@ -213,9 +213,6 @@ Query OK, 5 row(s) in set (0.004896s) {/* */} - - - {/* 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}} ```