Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
5decbee9
T
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1192
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5decbee9
编写于
8月 01, 2022
作者:
sangshuduo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '2.6' into feat/sangshuduo/TD-14141-update-taostools-for2.6
上级
4d0c7977
235953ca
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
12 deletion
+6
-12
docs/en/07-develop/07-subscribe.mdx
docs/en/07-develop/07-subscribe.mdx
+0
-3
docs/en/14-reference/03-connector/python.mdx
docs/en/14-reference/03-connector/python.mdx
+5
-5
docs/zh/07-develop/07-subscribe.mdx
docs/zh/07-develop/07-subscribe.mdx
+0
-3
docs/zh/14-reference/03-connector/python.mdx
docs/zh/14-reference/03-connector/python.mdx
+1
-1
未找到文件。
docs/en/07-develop/07-subscribe.mdx
浏览文件 @
5decbee9
...
@@ -218,9 +218,6 @@ Query OK, 5 row(s) in set (0.004896s)
...
@@ -218,9 +218,6 @@ Query OK, 5 row(s) in set (0.004896s)
{/* <TabItem label="Go" value="go">
{/* <TabItem label="Go" value="go">
<Go/>
<Go/>
</TabItem> */}
</TabItem> */}
<TabItem label="Rust" value="rust">
<Rust />
</TabItem>
{/* <TabItem label="Node.js" value="nodejs">
{/* <TabItem label="Node.js" value="nodejs">
<Node/>
<Node/>
</TabItem>
</TabItem>
...
...
docs/en/14-reference/03-connector/python.mdx
浏览文件 @
5decbee9
...
@@ -110,6 +110,7 @@ If you have multiple versions of Python on your system, you may have various `pi
...
@@ -110,6 +110,7 @@ If you have multiple versions of Python on your system, you may have various `pi
C:\> pip3 install taospy
C:\> pip3 install taospy
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
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)
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
...
@@ -255,7 +256,7 @@ The TaosCursor class uses native connections for write and query operations. In
##### Use of TaosRestCursor class
##### 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"
```python title="Use of TaosRestCursor"
{{#include docs/examples/python/connect_rest_examples.py:basic}}
{{#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
...
@@ -294,18 +295,17 @@ For a more detailed description of the `sql()` method, please refer to [RestClie
```
```
</TabItem>
</TabItem>
<Tabs default="native+sqlalchemy">
<TabItem value="native+sqlalchemy" label="Native + SQLAlchemy">
<TabItem value="native" label="原生连接 + SQLAlchemy">
```python
```python
{{#include docs/examples/python/conn_native_sqlalchemy.py}}
{{#include docs/examples/python/conn_native_sqlalchemy.py}}
```
```
</TabItem>
</TabItem>
<TabItem value="rest+sqlalchemy" label="REST
连接
+ SQLAlchemy">
<TabItem value="rest+sqlalchemy" label="REST + SQLAlchemy">
```python
```python
{{#include docs/examples/python/conn_rest_sqlachemy.py}}
{{#include docs/examples/python/conn_rest_sqla
l
chemy.py}}
```
```
</TabItem>
</TabItem>
...
...
docs/zh/07-develop/07-subscribe.mdx
浏览文件 @
5decbee9
...
@@ -213,9 +213,6 @@ Query OK, 5 row(s) in set (0.004896s)
...
@@ -213,9 +213,6 @@ Query OK, 5 row(s) in set (0.004896s)
{/* <TabItem label="Go" value="go">
{/* <TabItem label="Go" value="go">
<Go/>
<Go/>
</TabItem> */}
</TabItem> */}
<TabItem label="Rust" value="rust">
<Rust />
</TabItem>
{/* <TabItem label="Node.js" value="nodejs">
{/* <TabItem label="Node.js" value="nodejs">
<Node/>
<Node/>
</TabItem>
</TabItem>
...
...
docs/zh/14-reference/03-connector/python.mdx
浏览文件 @
5decbee9
...
@@ -306,7 +306,7 @@ TaosCursor 类使用原生连接进行写入、查询操作。在客户端多线
...
@@ -306,7 +306,7 @@ TaosCursor 类使用原生连接进行写入、查询操作。在客户端多线
<TabItem value="rest+sqlalchemy" label="REST 连接 + SQLAlchemy">
<TabItem value="rest+sqlalchemy" label="REST 连接 + SQLAlchemy">
```python
```python
{{#include docs/examples/python/conn_rest_sqlachemy.py}}
{{#include docs/examples/python/conn_rest_sqla
l
chemy.py}}
```
```
</TabItem>
</TabItem>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录