Skip to content

Commit

Permalink
Remove python2 docs (apache#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 23, 2023
1 parent eb7354f commit b2762de
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 478 deletions.
6 changes: 2 additions & 4 deletions _data/docs_menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
link: /clients/cpp-client
- name: title_go-client
link: https://github.com/apache/incubator-pegasus/tree/master/go-client
- name: title_python2-client
link: /clients/python2-client
- name: title_python3-client
link: /clients/python3-client
- name: title_python-client
link: /clients/python-client
- name: title_node-client
link: /clients/node-client
- name: title_scala-client
Expand Down
3 changes: 1 addition & 2 deletions _data/en/translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ title_shell: "Pegasus Shell"
title_java-client: "Java Client"
title_cpp-client: "C++ Client"
title_go-client: "Golang Client"
title_python2-client: "Python2 Client"
title_python3-client: "Python3 Client"
title_python-client: "Python Client"
title_node-client: "NodeJS Client"
title_scala-client: "Scala Client"
title_clients: "Client Libs"
Expand Down
3 changes: 1 addition & 2 deletions _data/zh/translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ title_shell: "Pegasus Shell 工具"
title_java-client: "Java客户端"
title_cpp-client: "C++客户端"
title_go-client: "Golang客户端"
title_python2-client: "Python2客户端"
title_python3-client: "Python3客户端"
title_python-client: "Python客户端"
title_node-client: "NodeJS客户端"
title_scala-client: "Scala客户端"
title_clients: "客户端库"
Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/clients/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Pegasus目前提供以下多种客户端支持:
| Java | <https://github.com/apache/incubator-pegasus/tree/master/java-client> |
| Scala | <https://github.com/apache/incubator-pegasus/tree/master/scala-client> |
| Go | <https://github.com/apache/incubator-pegasus/tree/master/go-client> |
| Python3 | <https://github.com/apache/incubator-pegasus/tree/master/python-client> |
| Python | <https://github.com/apache/incubator-pegasus/tree/master/python-client> |
| NodeJs | <https://github.com/apache/incubator-pegasus/tree/master/nodejs-client> |
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
permalink: clients/python3-client
permalink: clients/python-client
---

# pegasus python client
Expand All @@ -18,9 +18,7 @@ Python 3.7+

## 使用

pegasus python3 client 从 python2-client 改动而来,对原有的接口参数做了破坏性改动,由`str`改为`bytes`,并不再支持 python2 环境。

其他使用方法与 python2 客户端无差异
pegasus python client使用了[twisted](https://github.com/twisted/twisted), 编写的代码会带有twisted的影子。

### 示例

Expand Down
Loading

0 comments on commit b2762de

Please sign in to comment.