langchain社区-effectiveClick.TextSnipper.Task

class langchain_community.utilities.clickup.Task(id: int, name: str, text_content: str, description: str, status: str, creator_id: int, creator_username: str, creator_email: str, assignees: List[Dict[str, Any]], watchers: List[Dict[str, Any]], priority: Optional[str], due_date: Optional[str], start_date: Optional[str], points: int, team_id: int, project_id: int)[source]

任务类的定义。

属性:

id

name

text_content

description

status

creator_id

creator_username

creator_email

assignees

watchers

priority

due_date

start_date

points

team_id

project_id

方法:

__init__(id, name, text_content, ...)

from_data(data)

参数:
  • id整数) –

  • name字符串) –

  • text_content字符串) –

  • description字符串) –

  • status字符串) –

  • creator_id整数) –

  • creator_username字符串) –

  • creator_email字符串) –

  • assignees列表[[字典[字符串,任意类型]]]) –

  • watchers列表[[字典[字符串,任意类型]]]) –

  • priority可选[字符串]) –

  • due_date可选[字符串]) –

  • start_date可选[字符串]) –

  • points整数) –

  • team_id整数) –

  • project_id整数) –

__init__(id: int, name: str, text_content: str, description: str, status: str, creator_id: int, creator_username: str, creator_email: str, assignees: List[Dict[str, Any]], watchers: List[Dict[str, Any]], priority: Optional[str], due_date: Optional[str], start_date: Optional[str], points: int, team_id: int, project_id: int) None
参数:
  • id整数) –

  • name字符串) –

  • text_content字符串) –

  • description字符串) –

  • status字符串) –

  • creator_id整数) –

  • creator_username字符串) –

  • creator_email字符串) –

  • assignees列表[[字典[字符串,任意类型]]]) –

  • watchers列表[[字典[字符串,任意类型]]]) –

  • priority可选[字符串]) –

  • due_date可选[字符串]) –

  • start_date可选[字符串]) –

  • points整数) –

  • team_id整数) –

  • project_id整数) –

返回类型

None

classmethod from_data(data: Dict[str, Any]) Task[源代码]
参数:

data (Dict[str, Any]) –

返回类型

Task