1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-01 21:07:18 +00:00

Add rpc for searching group by name

This commit is contained in:
cuihaikuo
2017-01-17 15:15:52 +08:00
parent 0f8c81a81d
commit c1f9dcd7fe
5 changed files with 90 additions and 0 deletions

View File

@@ -327,6 +327,10 @@ class CcnetThreadedRpcClient(RpcClientBase):
def set_group_creator(self, group_id, user_name):
pass
@searpc_func("objlist", ["string", "int", "int"])
def search_groups(self, group_patt, start, limit):
pass
@searpc_func("int", ["string", "string", "string"])
def create_org(self, org_name, url_prefix, creator):
pass