deep – set to True to make a deep copy of the model
Returns
new model instance
create_folder(query: str) → Dict[source]¶
Creates a new folder.
create_list(query: str) → Dict[source]¶
Creates a new list.
create_task(query: str) → Dict[source]¶
Creates a new task.
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False) → DictStrAny¶
Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
classmethod from_orm(obj: Any) → Model¶
classmethod get_access_code_url(oauth_client_id: str, redirect_uri: str = 'https://google.com') → str[source]¶
Get the URL to get an access code.
classmethod get_access_token(oauth_client_id: str, oauth_client_secret: str, code: str) → Optional[str][source]¶
Get the access token.
get_authorized_teams() → Dict[Any, Any][source]¶
Get all teams for the user.
get_default_params() → Dict[source]¶
get_folders() → Dict[source]¶
Get all the folders for the team.
get_headers() → Mapping[str, Union[str, bytes]][source]¶
Get the headers for the request.
get_lists() → Dict[source]¶
Get all available lists.
get_spaces() → Dict[source]¶
Get all spaces for the team.
get_task(query: str, fault_tolerant: bool = True) → Dict[source]¶
Retrieve a specific task.