未验证 提交 479cd003 编写于 作者: B Bo Ding 提交者: GitHub

docs: typo in python connector reference (#15633)

* docs: type in python connector reference

* docs: grammer error
上级 cb1b0a99
......@@ -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
```
</TabItem>
<Tabs default="native+sqlalchemy">
<TabItem value="native" label="原生连接 + SQLAlchemy">
```python
......@@ -305,7 +306,7 @@ For a more detailed description of the `sql()` method, please refer to [RestClie
<TabItem value="rest+sqlalchemy" label="REST 连接 + SQLAlchemy">
```python
{{#include docs/examples/python/conn_rest_sqlachemy.py}}
{{#include docs/examples/python/conn_rest_sqlalchemy.py}}
```
</TabItem>
......
......@@ -306,7 +306,7 @@ TaosCursor 类使用原生连接进行写入、查询操作。在客户端多线
<TabItem value="rest+sqlalchemy" label="REST 连接 + SQLAlchemy">
```python
{{#include docs/examples/python/conn_rest_sqlachemy.py}}
{{#include docs/examples/python/conn_rest_sqlalchemy.py}}
```
</TabItem>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册