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/137390/head
parent
63c153d671
commit
809f5eea49
|
@ -541,9 +541,8 @@ class TodoistProjectData:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# All task Labels (optional parameter).
|
# All task Labels (optional parameter).
|
||||||
task[LABELS] = [
|
labels = data.labels or []
|
||||||
label.name for label in self._labels if label.name in data.labels
|
task[LABELS] = [label.name for label in self._labels if label.name in labels]
|
||||||
]
|
|
||||||
if self._label_whitelist and (
|
if self._label_whitelist and (
|
||||||
not any(label in task[LABELS] for label in self._label_whitelist)
|
not any(label in task[LABELS] for label in self._label_whitelist)
|
||||||
):
|
):
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
"documentation": "https://www.home-assistant.io/integrations/todoist",
|
"documentation": "https://www.home-assistant.io/integrations/todoist",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["todoist"],
|
"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
|
tmb==0.0.4
|
||||||
|
|
||||||
# homeassistant.components.todoist
|
# homeassistant.components.todoist
|
||||||
todoist-api-python==2.1.2
|
todoist-api-python==2.1.7
|
||||||
|
|
||||||
# homeassistant.components.tolo
|
# homeassistant.components.tolo
|
||||||
tololib==1.1.0
|
tololib==1.1.0
|
||||||
|
|
|
@ -2321,7 +2321,7 @@ thinqconnect==1.0.2
|
||||||
tilt-ble==0.2.3
|
tilt-ble==0.2.3
|
||||||
|
|
||||||
# homeassistant.components.todoist
|
# homeassistant.components.todoist
|
||||||
todoist-api-python==2.1.2
|
todoist-api-python==2.1.7
|
||||||
|
|
||||||
# homeassistant.components.tolo
|
# homeassistant.components.tolo
|
||||||
tololib==1.1.0
|
tololib==1.1.0
|
||||||
|
|
|
@ -70,6 +70,7 @@ def make_api_task(
|
||||||
section_id=None,
|
section_id=None,
|
||||||
url="https://todoist.com",
|
url="https://todoist.com",
|
||||||
sync_id=None,
|
sync_id=None,
|
||||||
|
duration=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,6 +95,7 @@ def mock_api(tasks: list[Task]) -> AsyncMock:
|
||||||
url="",
|
url="",
|
||||||
is_inbox_project=False,
|
is_inbox_project=False,
|
||||||
is_team_inbox=False,
|
is_team_inbox=False,
|
||||||
|
can_assign_tasks=False,
|
||||||
order=1,
|
order=1,
|
||||||
parent_id=None,
|
parent_id=None,
|
||||||
view_style="list",
|
view_style="list",
|
||||||
|
|
Loading…
Reference in New Issue