Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档中的 get_a_conversation 函数找不到? #386

Closed
bkda opened this issue Sep 25, 2018 · 4 comments
Closed

文档中的 get_a_conversation 函数找不到? #386

bkda opened this issue Sep 25, 2018 · 4 comments
Assignees

Comments

@bkda
Copy link

bkda commented Sep 25, 2018

https://leancloud.cn/docs/im-servermgmt-guide-python.html#hash547568837

这里面一大堆函数都不清楚哪里 import 来的?

import leancloud

conversation = get_a_conversation()

messages = find_by_conversation(conversation.id)

@bkda
Copy link
Author

bkda commented Sep 25, 2018

find_by_conversation 最起码我能搜到,get_a_conversation 在包里都没有,让用户猜吗?

2018-09-25 6 12 51

拜托写对外文档的选手用一下心。

@hjiang hjiang assigned ym Oct 9, 2018
@ym
Copy link
Contributor

ym commented Oct 9, 2018

get_a_conversation 是一个需要用户自己实现的方法,举个栗子:

def get_a_conversation():
  return leancloud.Conversation.query.get(object_id)

我们近期会更新一下这个文档。

@bkda
Copy link
Author

bkda commented Oct 9, 2018

🔫

这种比较初级的 demo 文档应该让用户一下子就能 run 起来才好啊,我看了源码还是一脸懵逼,希望早点补充一下吧。

@ym ym closed this as completed May 13, 2019
@weakish
Copy link
Contributor

weakish commented Jul 29, 2019

python 服务端即时通讯指南上周已经更新了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants