client.attributes ================= .. py:module:: client.attributes Functions --------- .. autoapisummary:: client.attributes.add_task_attributes Module Contents --------------- .. py:function:: add_task_attributes(attr_dict: Dict[str, Any], task_id: Optional[int] = None) -> None Add task attributes to database. :param attr_dict: Key/value pairs to store as task attributes. must be coercable to json. :param task_id: The task id to associate the attributes to. If not provided, will check the shell environment for a task id. Otherwise will raise a ValueError Raises: ValueError, TypeError