Bump todist-api-python to 2.1.7 (#136549)
Co-authored-by: Allen Porter <allen@thebends.org> Co-authored-by: J. Diego Rodríguez Royo <jdrr1998@hotmail.com>pull/127150/head
parent
30af9057d1
commit
9856340a33
|
@ -541,9 +541,8 @@ class TodoistProjectData:
|
|||
return None
|
||||
|
||||
# All task Labels (optional parameter).
|
||||
task[LABELS] = [
|
||||
label.name for label in self._labels if label.name in data.labels
|
||||
]
|
||||
labels = data.labels or []
|
||||
task[LABELS] = [label.name for label in self._labels if label.name in labels]
|
||||
if self._label_whitelist and (
|
||||
not any(label in task[LABELS] for label in self._label_whitelist)
|
||||
):
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/todoist",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["todoist"],
|
||||
"requirements": ["todoist-api-python==2.1.2"]
|
||||
"requirements": ["todoist-api-python==2.1.7"]
|
||||
}
|
||||
|
|
|
@ -2893,7 +2893,7 @@ tilt-ble==0.2.3
|
|||
tmb==0.0.4
|
||||
|
||||
# homeassistant.components.todoist
|
||||
todoist-api-python==2.1.2
|
||||
todoist-api-python==2.1.7
|
||||
|
||||
# homeassistant.components.tolo
|
||||
tololib==1.1.0
|
||||
|
|
|
@ -2321,7 +2321,7 @@ thinqconnect==1.0.2
|
|||
tilt-ble==0.2.3
|
||||
|
||||
# homeassistant.components.todoist
|
||||
todoist-api-python==2.1.2
|
||||
todoist-api-python==2.1.7
|
||||
|
||||
# homeassistant.components.tolo
|
||||
tololib==1.1.0
|
||||
|
|
|
@ -70,6 +70,7 @@ def make_api_task(
|
|||
section_id=None,
|
||||
url="https://todoist.com",
|
||||
sync_id=None,
|
||||
duration=None,
|
||||
)
|
||||
|
||||
|
||||
|
@ -94,6 +95,7 @@ def mock_api(tasks: list[Task]) -> AsyncMock:
|
|||
url="",
|
||||
is_inbox_project=False,
|
||||
is_team_inbox=False,
|
||||
can_assign_tasks=False,
|
||||
order=1,
|
||||
parent_id=None,
|
||||
view_style="list",
|
||||
|
|
Loading…
Reference in New Issue