parameters: (blogid)
return_statement: return [{
          'categoryId': category.id,
          'categoryName': category.name,
          'categoryDescription': category.seodesc,
          'description': category.seodesc} for category in categories]
docstring: 获取目录列表
docstring_summary: 获取目录列表
docstring_tokens: 获取目录列表
function: def metaWeblog_getCategories(blogid):
      """获取目录列表"""
  
      categories = Category.query.all()
  
      return [{
          'categoryId': category.id,
          'categoryName': category.name,
          'categoryDescription': category.seodesc,
          'description': category.seodesc} for category in categories]
function_tokens: def metaWeblog_getCategories ( blogid ) : categories = Category . query . all ( ) return [ { 'categoryId' : category . id , 'categoryName' : category . name , 'categoryDescription' : category . seodesc , 'description' : category . seodesc } for category in categories ]