python-hilo 2026.11.3__tar.gz → 2026.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/workflows/tests.yaml +2 -2
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/PKG-INFO +1 -1
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/const.py +1 -1
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/event.py +57 -2
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyproject.toml +1 -1
- python_hilo-2026.12.1/tests/test_event.py +179 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/uv.lock +68 -50
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.bandit.yaml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.devcontainer/devcontainer-lock.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.devcontainer/devcontainer.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.editorconfig +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.gitattributes +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/ISSUE_TEMPLATE/issue.md +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/dependabot.yml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/labels.yml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/release-drafter.yml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/workflows/labeler.yml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.github/workflows/release-drafter.yml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.gitignore +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/.pre-commit-config.yaml +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/AGENTS.md +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/LICENSE +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/README.md +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/README.md +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/graphql/onAnyDeviceUpdated-cee.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/graphql/onAnyDeviceUpdated-meter.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/graphql/onAnyDeviceUpdated-tstat.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/postman/hilo-prod.postman_environment.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/postman/hilo.postman_collection.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/rest/location_weather.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/rest/season_events_ch_2025.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/rest/season_events_ch_2026_empty.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/rest/season_events_hilo_2024.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/rest/seasons_summary.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/ChallengeAdded.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventAdded.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventCHConsumptionUpdatedValuesReceived-during-event.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventCHConsumptionUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventCHDetailsInitialValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventCHDetailsUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventFlexConsumptionUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventFlexDetailsInitialValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/EventFlexDetailsUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/legacy-pre-2025/ChallengeAdded.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/legacy-pre-2025/ChallengeConsumptionUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/legacy-pre-2025/ChallengeDetailsInitialValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/legacy-pre-2025/ChallengeListInitialValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/legacy-pre-2025/ChallengeListUpdatedValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/devicehub/DeviceListInitialValuesReceived.json +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/__init__.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/api.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/auth.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/__init__.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/climate.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/graphql_value_mapper.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/light.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/sensor.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/device/switch.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/devices.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/exceptions.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/graphql.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/oauth2helper.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/signalr.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/util/__init__.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/pyhilo/util/state.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/__init__.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_api_auth.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_climate.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_device.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_graphql.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_graphql_value_mapper.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_signalr.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_util.py +0 -0
- {python_hilo-2026.11.3 → python_hilo-2026.12.1}/tests/test_util_state.py +0 -0
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
25
25
|
|
|
26
26
|
- name: Install uv
|
|
27
|
-
uses: astral-sh/setup-uv@v10.4.
|
|
27
|
+
uses: astral-sh/setup-uv@v10.4.1
|
|
28
28
|
|
|
29
29
|
- name: Install dependencies
|
|
30
30
|
run: uv sync --group dev
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
python-version: ${{ matrix.python-version }}
|
|
52
52
|
|
|
53
53
|
- name: Install uv
|
|
54
|
-
uses: astral-sh/setup-uv@v10.4.
|
|
54
|
+
uses: astral-sh/setup-uv@v10.4.1
|
|
55
55
|
|
|
56
56
|
- name: Install dependencies
|
|
57
57
|
run: uv sync --python ${{ matrix.python-version }} --group test
|
|
@@ -11,7 +11,7 @@ INSTANCE_ID: Final = str(uuid.uuid4())[24:]
|
|
|
11
11
|
LOG: Final = logging.getLogger(__package__)
|
|
12
12
|
DEFAULT_STATE_FILE: Final = "hilo_state.yaml"
|
|
13
13
|
REQUEST_RETRY: Final = 9
|
|
14
|
-
PYHILO_VERSION: Final = "2026.
|
|
14
|
+
PYHILO_VERSION: Final = "2026.12.01"
|
|
15
15
|
# TODO: Find a way to keep previous line in sync with pyproject.toml automatically
|
|
16
16
|
|
|
17
17
|
CONTENT_TYPE_FORM: Final = "application/x-www-form-urlencoded"
|
|
@@ -3,13 +3,22 @@
|
|
|
3
3
|
from datetime import datetime, timedelta, timezone
|
|
4
4
|
import logging
|
|
5
5
|
import re
|
|
6
|
-
from typing import Any, cast
|
|
6
|
+
from typing import Any, TypedDict, cast
|
|
7
7
|
|
|
8
8
|
from pyhilo.util import camel_to_snake, from_utc_timestamp
|
|
9
9
|
|
|
10
10
|
LOG = logging.getLogger(__package__)
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
class OptOutDevice(TypedDict):
|
|
14
|
+
"""A device leaving Hilo's control, e.g. when its setpoint is changed during an event."""
|
|
15
|
+
|
|
16
|
+
id: int
|
|
17
|
+
eventDateUtc: str
|
|
18
|
+
triggerTypeId: int
|
|
19
|
+
triggerApplicationId: int | None
|
|
20
|
+
|
|
21
|
+
|
|
13
22
|
class Event:
|
|
14
23
|
"""This class is used to populate the data of a Hilo Challenge Event, contains datetime info and consumption data"""
|
|
15
24
|
|
|
@@ -38,7 +47,11 @@ class Event:
|
|
|
38
47
|
self.period: str = (cast(str, event.get("period", "")) or "").lower()
|
|
39
48
|
self.event_id: int = cast(int, event["id"])
|
|
40
49
|
self.total_devices: int = len(devices)
|
|
41
|
-
self.
|
|
50
|
+
self._opt_out_device_ids: set[int] = {x["id"] for x in devices if x["optOut"]}
|
|
51
|
+
self.opt_out_devices: int = 0
|
|
52
|
+
self._record_opt_outs(
|
|
53
|
+
cast(list[OptOutDevice], event.get("optOutDevices") or [])
|
|
54
|
+
)
|
|
42
55
|
self.pre_heat_devices: int = len([x for x in devices if x["preheat"]])
|
|
43
56
|
self.progress: str = cast(str, event.get("progress", "unknown"))
|
|
44
57
|
self.mode: str = cast(str, params.get("mode", "Unknown"))
|
|
@@ -68,6 +81,48 @@ class Event:
|
|
|
68
81
|
"reward",
|
|
69
82
|
]
|
|
70
83
|
|
|
84
|
+
def update(self, data: dict[str, Any]) -> None:
|
|
85
|
+
"""Update the event in place from a partial Hilo message.
|
|
86
|
+
|
|
87
|
+
Hilo sends partial updates: a field it isn't changing is either
|
|
88
|
+
missing or None (an opt-out notice carries only the opted-out
|
|
89
|
+
devices, with progress, parameters, etc. set to None). Only the
|
|
90
|
+
fields that carry a value are applied; everything else keeps its
|
|
91
|
+
current value. Consumption progress arrives in separate messages
|
|
92
|
+
handled by update_wh().
|
|
93
|
+
"""
|
|
94
|
+
if (phases := data.get("phases")) is not None:
|
|
95
|
+
self._convert_phases(phases)
|
|
96
|
+
if (progress := data.get("progress")) is not None:
|
|
97
|
+
self.progress = progress
|
|
98
|
+
if (participating := data.get("isParticipating")) is not None:
|
|
99
|
+
self.participating = participating
|
|
100
|
+
if (configurable := data.get("isConfigurable")) is not None:
|
|
101
|
+
self.configurable = configurable
|
|
102
|
+
if (period := data.get("period")) is not None:
|
|
103
|
+
self.period = period.lower()
|
|
104
|
+
if (params := data.get("parameters")) is not None:
|
|
105
|
+
devices: list[dict[str, Any]] = params.get("devices", [])
|
|
106
|
+
self.total_devices = len(devices)
|
|
107
|
+
self._opt_out_device_ids.update(x["id"] for x in devices if x["optOut"])
|
|
108
|
+
self.pre_heat_devices = len([x for x in devices if x["preheat"]])
|
|
109
|
+
self.mode = params.get("mode", self.mode)
|
|
110
|
+
self._record_opt_outs(data.get("optOutDevices") or [])
|
|
111
|
+
if (reward := data.get("reward")) is not None:
|
|
112
|
+
self.reward = reward
|
|
113
|
+
consumption: dict[str, Any] = data.get("consumption") or {}
|
|
114
|
+
# Hilo reports a baseline of 0 until it has computed one; skip it so
|
|
115
|
+
# a known baseline is never wiped.
|
|
116
|
+
if allowed_wH := consumption.get("baselineWh"):
|
|
117
|
+
self.update_allowed_wh(allowed_wH)
|
|
118
|
+
self.last_update = datetime.now(timezone.utc).astimezone()
|
|
119
|
+
|
|
120
|
+
def _record_opt_outs(self, opt_outs: list[OptOutDevice]) -> None:
|
|
121
|
+
# Hilo emits an entry each time a device is taken over, so the same
|
|
122
|
+
# device can appear many times; count each device once.
|
|
123
|
+
self._opt_out_device_ids.update(x["id"] for x in opt_outs)
|
|
124
|
+
self.opt_out_devices = len(self._opt_out_device_ids)
|
|
125
|
+
|
|
71
126
|
def update_wh(self, used_wH: float) -> None:
|
|
72
127
|
"""This function is used to update the used_kWh attribute during a Hilo Challenge Event"""
|
|
73
128
|
LOG.debug("Updating Wh: %s", used_wH)
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"""Tests for Event updates, using message shapes captured from a real Hilo event."""
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
|
|
5
|
+
from pyhilo.event import Event, OptOutDevice
|
|
6
|
+
|
|
7
|
+
EVENT_ID = 101
|
|
8
|
+
THERMOSTAT_A = 1001
|
|
9
|
+
THERMOSTAT_B = 1002
|
|
10
|
+
CHARGER = 2001
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _device(device_id: int, opt_out: bool = False) -> dict[str, object]:
|
|
14
|
+
return {
|
|
15
|
+
"id": device_id,
|
|
16
|
+
"deviceUid": f"uid-{device_id}",
|
|
17
|
+
"deviceType": "Thermostat",
|
|
18
|
+
"name": f"Device {device_id}",
|
|
19
|
+
"roomName": "Room",
|
|
20
|
+
"optOut": opt_out,
|
|
21
|
+
"preheat": False,
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _initial_message(
|
|
26
|
+
devices: list[dict[str, object]], baseline_wh: float = 0.0
|
|
27
|
+
) -> dict[str, object]:
|
|
28
|
+
"""Shape of ChallengeDetailsInitialValuesReceived."""
|
|
29
|
+
return {
|
|
30
|
+
"id": EVENT_ID,
|
|
31
|
+
"progress": "scheduled",
|
|
32
|
+
"isParticipating": True,
|
|
33
|
+
"isConfigurable": False,
|
|
34
|
+
"period": "PM",
|
|
35
|
+
"phases": {
|
|
36
|
+
"settingsDeadlineUTC": "2026-11-17T05:00:00Z",
|
|
37
|
+
"preheatStartDateUTC": "2026-11-17T19:00:00Z",
|
|
38
|
+
"preheatEndDateUTC": "2026-11-17T21:00:00Z",
|
|
39
|
+
"reductionStartDateUTC": "2026-11-17T21:00:00Z",
|
|
40
|
+
"reductionEndDateUTC": "2026-11-18T01:00:00Z",
|
|
41
|
+
"recoveryStartDateUTC": "2026-11-18T01:00:00Z",
|
|
42
|
+
"recoveryEndDateUTC": "2026-11-18T02:00:00Z",
|
|
43
|
+
},
|
|
44
|
+
"parameters": {"mode": "Extreme", "devices": devices},
|
|
45
|
+
"consumption": {"baselineWh": baseline_wh},
|
|
46
|
+
"optOutDevices": [],
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _opt_out(device_id: int, trigger_type_id: int = 3) -> OptOutDevice:
|
|
51
|
+
return {
|
|
52
|
+
"id": device_id,
|
|
53
|
+
"eventDateUtc": "2026-11-17T21:00:00.4189642Z",
|
|
54
|
+
"triggerTypeId": trigger_type_id,
|
|
55
|
+
"triggerApplicationId": 1 if trigger_type_id == 3 else None,
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _opt_out_notice(*opt_outs: OptOutDevice) -> dict[str, object]:
|
|
60
|
+
"""Shape of ChallengeDetailsUpdatedValuesReceived: everything but the opt-outs is None."""
|
|
61
|
+
return {
|
|
62
|
+
"id": EVENT_ID,
|
|
63
|
+
"progress": None,
|
|
64
|
+
"isParticipating": None,
|
|
65
|
+
"isConfigurable": None,
|
|
66
|
+
"currentPhase": None,
|
|
67
|
+
"parameters": None,
|
|
68
|
+
"report": None,
|
|
69
|
+
"optOutDevices": list(opt_outs),
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _event(devices: list[dict[str, object]] | None = None) -> Event:
|
|
74
|
+
devices = (
|
|
75
|
+
devices
|
|
76
|
+
if devices is not None
|
|
77
|
+
else [_device(THERMOSTAT_A), _device(THERMOSTAT_B), _device(CHARGER)]
|
|
78
|
+
)
|
|
79
|
+
return Event(**_initial_message(devices))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
@pytest.mark.parametrize(
|
|
83
|
+
("devices", "expected"),
|
|
84
|
+
[
|
|
85
|
+
pytest.param([_device(THERMOSTAT_A)], 0, id="none_opted_out"),
|
|
86
|
+
pytest.param(
|
|
87
|
+
[_device(THERMOSTAT_A, opt_out=True), _device(THERMOSTAT_B)],
|
|
88
|
+
1,
|
|
89
|
+
id="one_flagged",
|
|
90
|
+
),
|
|
91
|
+
],
|
|
92
|
+
)
|
|
93
|
+
def test_initial_opt_out_count_comes_from_device_flags(
|
|
94
|
+
devices: list[dict[str, object]], expected: int
|
|
95
|
+
) -> None:
|
|
96
|
+
assert _event(devices).opt_out_devices == expected
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
@pytest.mark.parametrize(
|
|
100
|
+
("notices", "expected"),
|
|
101
|
+
[
|
|
102
|
+
pytest.param([[_opt_out(THERMOSTAT_A)]], 1, id="single_notice"),
|
|
103
|
+
pytest.param(
|
|
104
|
+
[[_opt_out(THERMOSTAT_A)], [_opt_out(THERMOSTAT_A, trigger_type_id=1)]],
|
|
105
|
+
1,
|
|
106
|
+
id="same_device_repeated",
|
|
107
|
+
),
|
|
108
|
+
pytest.param(
|
|
109
|
+
[[_opt_out(THERMOSTAT_A)], [_opt_out(THERMOSTAT_B)]],
|
|
110
|
+
2,
|
|
111
|
+
id="distinct_devices",
|
|
112
|
+
),
|
|
113
|
+
pytest.param(
|
|
114
|
+
[[_opt_out(THERMOSTAT_A), _opt_out(THERMOSTAT_B)]],
|
|
115
|
+
2,
|
|
116
|
+
id="several_in_one_notice",
|
|
117
|
+
),
|
|
118
|
+
],
|
|
119
|
+
)
|
|
120
|
+
def test_opt_out_notices_count_each_device_once(
|
|
121
|
+
notices: list[list[OptOutDevice]], expected: int
|
|
122
|
+
) -> None:
|
|
123
|
+
event = _event()
|
|
124
|
+
|
|
125
|
+
for opt_outs in notices:
|
|
126
|
+
event.update(_opt_out_notice(*opt_outs))
|
|
127
|
+
|
|
128
|
+
assert event.opt_out_devices == expected
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
def test_opt_out_notice_and_device_flag_for_same_device_count_once() -> None:
|
|
132
|
+
event = _event([_device(THERMOSTAT_A, opt_out=True), _device(THERMOSTAT_B)])
|
|
133
|
+
|
|
134
|
+
event.update(_opt_out_notice(_opt_out(THERMOSTAT_A)))
|
|
135
|
+
|
|
136
|
+
assert event.opt_out_devices == 1
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
@pytest.mark.parametrize(
|
|
140
|
+
("attribute", "expected"),
|
|
141
|
+
[
|
|
142
|
+
pytest.param("progress", "scheduled", id="progress"),
|
|
143
|
+
pytest.param("participating", True, id="participating"),
|
|
144
|
+
pytest.param("total_devices", 3, id="total_devices"),
|
|
145
|
+
pytest.param("mode", "Extreme", id="mode"),
|
|
146
|
+
pytest.param("period", "pm", id="period"),
|
|
147
|
+
],
|
|
148
|
+
)
|
|
149
|
+
def test_opt_out_notice_keeps_other_fields(attribute: str, expected: object) -> None:
|
|
150
|
+
event = _event()
|
|
151
|
+
|
|
152
|
+
event.update(_opt_out_notice(_opt_out(THERMOSTAT_A)))
|
|
153
|
+
|
|
154
|
+
assert getattr(event, attribute) == expected
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
@pytest.mark.parametrize(
|
|
158
|
+
("baseline_wh", "expected_kwh"),
|
|
159
|
+
[
|
|
160
|
+
pytest.param(0.0, 14.76, id="zero_before_baseline_is_computed"),
|
|
161
|
+
pytest.param(14777.26, 14.78, id="revised_baseline"),
|
|
162
|
+
],
|
|
163
|
+
)
|
|
164
|
+
def test_update_baseline(baseline_wh: float, expected_kwh: float) -> None:
|
|
165
|
+
event = _event()
|
|
166
|
+
event.update_allowed_wh(14762.21)
|
|
167
|
+
|
|
168
|
+
event.update({"id": EVENT_ID, "consumption": {"baselineWh": baseline_wh}})
|
|
169
|
+
|
|
170
|
+
assert event.allowed_kWh == expected_kwh
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def test_update_leaves_used_wh_to_consumption_messages() -> None:
|
|
174
|
+
event = _event()
|
|
175
|
+
event.update_wh(5987.98)
|
|
176
|
+
|
|
177
|
+
event.update({"id": EVENT_ID, "consumption": {"currentWh": 0.0}})
|
|
178
|
+
|
|
179
|
+
assert event.used_kWh == 5.99
|
|
@@ -957,7 +957,7 @@ wheels = [
|
|
|
957
957
|
|
|
958
958
|
[[package]]
|
|
959
959
|
name = "python-hilo"
|
|
960
|
-
version = "2026.
|
|
960
|
+
version = "2026.12.1"
|
|
961
961
|
source = { editable = "." }
|
|
962
962
|
dependencies = [
|
|
963
963
|
{ name = "aiofiles" },
|
|
@@ -1004,63 +1004,81 @@ test = [
|
|
|
1004
1004
|
|
|
1005
1005
|
[[package]]
|
|
1006
1006
|
name = "pyyaml"
|
|
1007
|
-
version = "6.0.
|
|
1007
|
+
version = "6.0.4"
|
|
1008
1008
|
source = { registry = "https://pypi.org/simple" }
|
|
1009
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1009
|
+
sdist = { url = "https://files.pythonhosted.org/packages/76/b8/c0b780928e2fb1c87e9e375818c6f121da2398b071012d1747be300b83f4/pyyaml-6.0.4.tar.gz", hash = "sha256:e24bf71af8a432d7808fabff134d38dfe16d3cbb41f2873bb4b1e42422de0a1a", size = 136336, upload-time = "2026-11-20T23:37:05.977Z" }
|
|
1010
1010
|
wheels = [
|
|
1011
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1012
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1013
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1014
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1015
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1016
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1017
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1018
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1019
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1020
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1021
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1022
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1023
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1024
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1025
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1026
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1027
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1028
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1029
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1030
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1031
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1032
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1033
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1034
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1035
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1036
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1037
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1038
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1011
|
+
{ url = "https://files.pythonhosted.org/packages/95/22/b445c43210fe7f466fcf5a38bcbe850fd3db31b85594db22b5a43e63c482/pyyaml-6.0.4-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:61eef2f08e977b725f37a8d1663f5a222c6f09207ac0794030d5fca062e7c96e", size = 188392, upload-time = "2026-11-20T23:35:11.776Z" },
|
|
1012
|
+
{ url = "https://files.pythonhosted.org/packages/1f/c3/1536ad41fd962d3915f3f8252ecc7f91192ab15c3120ba72ff45e76b7077/pyyaml-6.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9d4211f080920629a90c9e31c51e326fb70cfae38f18d4128b9913c23642bace", size = 179961, upload-time = "2026-11-20T23:35:12.722Z" },
|
|
1013
|
+
{ url = "https://files.pythonhosted.org/packages/40/fd/c5297cc6370e4ab63d0c44d2e63510cc53354f5e8e74bcff047e2a384698/pyyaml-6.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41b4669c3a8fd5750e594dff59d3e62d40e321fec467b50449603710ed0a68f3", size = 804464, upload-time = "2026-11-20T23:35:14.066Z" },
|
|
1014
|
+
{ url = "https://files.pythonhosted.org/packages/0c/2e/20385f63727a6c08df1adad34a88bde90e2bcc1146d1c8588a83190d53b8/pyyaml-6.0.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:efe68ed09903cca9ab4117c2b9ea6ee8d369818808945bb5a7fa8009b5630b45", size = 875357, upload-time = "2026-11-20T23:35:15.537Z" },
|
|
1015
|
+
{ url = "https://files.pythonhosted.org/packages/70/f2/f280d52f22f6d9853517d02495c02fbf4c80214fae8ca498efa8605013da/pyyaml-6.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50588147ab2c6a59b5f990a4905db80899a6c2bd197e046a6201f1e67587e794", size = 838459, upload-time = "2026-11-20T23:35:16.681Z" },
|
|
1016
|
+
{ url = "https://files.pythonhosted.org/packages/2a/ee/5f7142110583686e94ab4492e3724ed0869cd9fe26ba8293ec25a47ee223/pyyaml-6.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d1e8d6e345b4b4424a05a11e699e999e65a88f422f73636f8a0b354bf219ffa", size = 789384, upload-time = "2026-11-20T23:35:17.734Z" },
|
|
1017
|
+
{ url = "https://files.pythonhosted.org/packages/4f/ab/1fd22df5305561cbefb85363182a0af5e81d219e8b8b8dfd73f20eb70859/pyyaml-6.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a56491babf0d976625807953bd192dd9de973fccb3270e77b1a795b152a26175", size = 814502, upload-time = "2026-11-20T23:35:19.171Z" },
|
|
1018
|
+
{ url = "https://files.pythonhosted.org/packages/c1/5a/6b53e1711a78fcc14619a341618c36b862ad8c634e7bc43ae18e6a7376b2/pyyaml-6.0.4-cp313-cp313-win32.whl", hash = "sha256:1631d566655f3af7d6c4a4485267830f6b680d3dc9704b659b3c3f4541b5a3fe", size = 140447, upload-time = "2026-11-20T23:35:20.134Z" },
|
|
1019
|
+
{ url = "https://files.pythonhosted.org/packages/bd/09/e785d2a9d64de2449cc3aecaa03f1c34670d7a688dc00da7246a858b7e8f/pyyaml-6.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:0a3a351f04dc124f9357512bdb80ac37cd1750cf1371da33e7cbb96d80ac865f", size = 154298, upload-time = "2026-11-20T23:36:22.105Z" },
|
|
1020
|
+
{ url = "https://files.pythonhosted.org/packages/94/44/0ed649c2c1cc37b342042c3a4609247b74201c23a6f7f01f5dd222eae2bd/pyyaml-6.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:f617e4e5c619fef5284335b24e3af3a77ce08dc5c389ff4b25033bb2749032b7", size = 146938, upload-time = "2026-11-20T23:36:23.305Z" },
|
|
1021
|
+
{ url = "https://files.pythonhosted.org/packages/70/90/a2d37db959cb771389bb6171eff83905776e5aead12a985a5118a587d6eb/pyyaml-6.0.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:4a329472db6c8858ebd94f2214a54c8bff8f035a6cc7af1ab39cc1b33a5f0e56", size = 189727, upload-time = "2026-11-20T23:36:24.518Z" },
|
|
1022
|
+
{ url = "https://files.pythonhosted.org/packages/71/40/de4380acb2bcc733f502a7c8562b08f741890741dcaa8a7f018c87acc060/pyyaml-6.0.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:7335809813ec838d9cd334b1744cda33deb141c9ef23a9c0df371c37980d3851", size = 181969, upload-time = "2026-11-20T23:36:25.675Z" },
|
|
1023
|
+
{ url = "https://files.pythonhosted.org/packages/7f/a1/88baf9d84981ea723fc1dd5cb534548caebff3071939f899509ab7c62d2f/pyyaml-6.0.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ed9b957abb12f6ffcd92d5db32fa3ffd4e4a8423d80ddd51b4efa63b42f6a76b", size = 804091, upload-time = "2026-11-20T23:36:26.979Z" },
|
|
1024
|
+
{ url = "https://files.pythonhosted.org/packages/b8/d4/ce94fe5b0e3cc04834d4a30237c1b5388a13ff5a383b919e857898834857/pyyaml-6.0.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b525488d5addf5d59ff4610cd8b1deab9dc97fe0fb3fb74533d7f65e9792bd92", size = 869794, upload-time = "2026-11-20T23:36:28.069Z" },
|
|
1025
|
+
{ url = "https://files.pythonhosted.org/packages/ef/1b/54ce11b40c8fa1883f14eef46525c3c329509dcc268164074fbe60add8ed/pyyaml-6.0.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c604dc2613c417130479cdd6e55c2faa691b6365aa82b3dafddfcecc2eaf1ac7", size = 819491, upload-time = "2026-11-20T23:36:29.189Z" },
|
|
1026
|
+
{ url = "https://files.pythonhosted.org/packages/8a/d2/6202ffb5d61667c993211a9231836b5d9be5e34165efd1714ac68ea76029/pyyaml-6.0.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f1a4a85b419f5cb6470dd4be5f766bc59532f11b9c22c076b58a0348f05dca5f", size = 790345, upload-time = "2026-11-20T23:36:30.597Z" },
|
|
1027
|
+
{ url = "https://files.pythonhosted.org/packages/d4/39/d62587fae4a9a32197ea43182c38f221f3f173a09c6f4380254533bdd89e/pyyaml-6.0.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:132c3c7c37a8e6f334921b05cfea5d26e241d792dcbb4db0462129d25ca53b43", size = 824626, upload-time = "2026-11-20T23:36:31.9Z" },
|
|
1028
|
+
{ url = "https://files.pythonhosted.org/packages/b4/b5/e5cf6ca786f8a5b9bd91e01fe8f2113300bc5628fcfdd3ca02d271970824/pyyaml-6.0.4-cp314-cp314-win_amd64.whl", hash = "sha256:1d2f08c122727c86f8303bb1dd45159ca1de1f2d68798e671ec46974e321008e", size = 157525, upload-time = "2026-11-20T23:36:44.254Z" },
|
|
1029
|
+
{ url = "https://files.pythonhosted.org/packages/75/9c/d78ce9adda3f7db933f73bb2b17ede76f5786fff747a2b73f6e8a6b7bab5/pyyaml-6.0.4-cp314-cp314-win_arm64.whl", hash = "sha256:33506a2620f0e7c49858f09cb44e99f144878d03af3d9c10aa136e9a1d103bcd", size = 151175, upload-time = "2026-11-20T23:36:45.191Z" },
|
|
1030
|
+
{ url = "https://files.pythonhosted.org/packages/83/f0/e48b8e9736380a039a17506200c4c3080ef181ee86b0e8e2cd6c345ae78a/pyyaml-6.0.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:1db4d51d3c2c9545dd44c614febc4594240754f74b30d8e501415b118347f0d1", size = 193903, upload-time = "2026-11-20T23:36:33.086Z" },
|
|
1031
|
+
{ url = "https://files.pythonhosted.org/packages/98/ba/682030d1e08f2e4bbd57f164b9085d37560386cf54f6299825e754b32d1a/pyyaml-6.0.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:93da48af92c84c4236578e330a514ca324362c0bb62894d8d2343363ed57ff03", size = 188971, upload-time = "2026-11-20T23:36:34.034Z" },
|
|
1032
|
+
{ url = "https://files.pythonhosted.org/packages/e9/2b/4b29107aae981b4d4575945a73d6c73ebd407d27934dcf35a7daa8fbeb43/pyyaml-6.0.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3c7129bcee5c88c1450802cc6a95b690ee7c51bfcc7a9b60bbd9549a7a4fcbe6", size = 851356, upload-time = "2026-11-20T23:36:35.21Z" },
|
|
1033
|
+
{ url = "https://files.pythonhosted.org/packages/12/d4/2b05dddc8f59c3762e67c8d5ac01c1759767ee6ea4aba183a01950644668/pyyaml-6.0.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2018fda285d1289527a389e1b4ace1e2d3af410930f949136b55ecb0747744d1", size = 887294, upload-time = "2026-11-20T23:36:36.484Z" },
|
|
1034
|
+
{ url = "https://files.pythonhosted.org/packages/3e/2a/ce3e0ff674c67b9e1706912aae61063581b3dba22142e60ccdaa64b25c75/pyyaml-6.0.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15c52bb238a15bb4fd7e6342a5ac71d594507667c7fe0e5a5abbc0f6875d1e91", size = 850982, upload-time = "2026-11-20T23:36:38.247Z" },
|
|
1035
|
+
{ url = "https://files.pythonhosted.org/packages/7e/ad/701d83221865b2512067a9ab2b8e062145af2d362cc2451e72c146ef34cf/pyyaml-6.0.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ab874ebcc5c12c31c859a9e9fe159d688df1f7a099818ef8a35906264a8f5d6b", size = 822547, upload-time = "2026-11-20T23:36:39.852Z" },
|
|
1036
|
+
{ url = "https://files.pythonhosted.org/packages/61/d1/d88b389313be382ddabd1bca86dbf5da31ac02ecbf29c893588aafb6e11f/pyyaml-6.0.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:62c5b5669b05dabf991a705f3a3601f57b65e95121a1d3e3a4ae4446c8632865", size = 845538, upload-time = "2026-11-20T23:36:41.285Z" },
|
|
1037
|
+
{ url = "https://files.pythonhosted.org/packages/1a/a6/c25ff1b5ebc8bfb11a783a5fde40435f0459629af6f56f9487479bca9766/pyyaml-6.0.4-cp314-cp314t-win_amd64.whl", hash = "sha256:609e8efaffa5662da16b7d53eef76fc4eedbbe56fce5829b67ba808a6e35d399", size = 164060, upload-time = "2026-11-20T23:36:42.238Z" },
|
|
1038
|
+
{ url = "https://files.pythonhosted.org/packages/08/ad/25d2ac566f0e2f4eb822c9c5e8d9a053406cbfff142273a072b194856823/pyyaml-6.0.4-cp314-cp314t-win_arm64.whl", hash = "sha256:a266cf55ee5cf63c1803432a61c6386e750e0012ca49d12d26ccb0ffd80b343a", size = 157379, upload-time = "2026-11-20T23:36:43.181Z" },
|
|
1039
|
+
{ url = "https://files.pythonhosted.org/packages/e5/29/fb680bd299c2c6e004c1cc1914f8bad276c6014fe8debd5d6d61ea4c4ff4/pyyaml-6.0.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:12a155bc41509d71a2eb73e2191d9e400c1345ea99ac3d9946c31f40a4c840f8", size = 189560, upload-time = "2026-11-20T23:36:46.145Z" },
|
|
1040
|
+
{ url = "https://files.pythonhosted.org/packages/af/6c/2ffdab56d7afeb039d957479a305516ddbaa08d0162d1e9165fb928e3aeb/pyyaml-6.0.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:070c22b6f490d6cc30912be9fb9ab1af9c752769b39b53616f6510c3f038ee6a", size = 181949, upload-time = "2026-11-20T23:36:47.065Z" },
|
|
1041
|
+
{ url = "https://files.pythonhosted.org/packages/b3/07/3a20ed31a60084206ac20449583b0d1a42116b3c530d6857918e4ddbe4b6/pyyaml-6.0.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:872d2a592289061c1b987e335b3568a2616b474be02bd0608d8f551a385441cd", size = 803806, upload-time = "2026-11-20T23:36:48.145Z" },
|
|
1042
|
+
{ url = "https://files.pythonhosted.org/packages/26/5b/3dd56027457b96e7e5ea2f4f5976e530d699884b4fd4e360e99e57fa6cca/pyyaml-6.0.4-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:914b19e17814315fbcca52031bf79b68237f3d87a948c584a667b18b468e4df7", size = 876808, upload-time = "2026-11-20T23:36:49.294Z" },
|
|
1043
|
+
{ url = "https://files.pythonhosted.org/packages/b0/51/096a5495b33ff2da32f0c84f5bf8e042cf76f72641cba06ee9618ad01f4d/pyyaml-6.0.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c57e40928738c4a202852759f9e1ee2c7063429a9469ee1ac15651bbf7d69963", size = 833052, upload-time = "2026-11-20T23:36:50.505Z" },
|
|
1044
|
+
{ url = "https://files.pythonhosted.org/packages/da/75/b4e86b5a27fcb9a9cf88e3b81d1b0c12cae2734311e508af18b93ff56286/pyyaml-6.0.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:8e0cd755ce5e9009fd95f9c553e5942478feb8f7dffa19435641fcdc3c20e8ca", size = 788983, upload-time = "2026-11-20T23:36:51.821Z" },
|
|
1045
|
+
{ url = "https://files.pythonhosted.org/packages/2c/00/2a2cdad68237bcd416bd01688ecfb0e3fa1e68a841b74193db97ffd1c716/pyyaml-6.0.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2c11be5ab4d9f603a598b5ce93a2064ae38087bdf1b384c5397170054cda4e36", size = 828806, upload-time = "2026-11-20T23:36:52.959Z" },
|
|
1046
|
+
{ url = "https://files.pythonhosted.org/packages/a8/15/39efefc88dd6fbc3be23cef08a819f5e8bf9a6c0bcf003fc09d38dd0010e/pyyaml-6.0.4-cp315-cp315-win_amd64.whl", hash = "sha256:67da066ca12eb60114ea87f2ecbcca622fff0c205c743cc900437127564fabf6", size = 157467, upload-time = "2026-11-20T23:37:04.171Z" },
|
|
1047
|
+
{ url = "https://files.pythonhosted.org/packages/40/1d/fddc53420d9c12e7d27c36a59fabf186ba1f6117314da4927dc40b2da19b/pyyaml-6.0.4-cp315-cp315-win_arm64.whl", hash = "sha256:573debb9fe3075423d4f823795a678580e597218c25baef178d532b124a25a25", size = 151203, upload-time = "2026-11-20T23:37:05.079Z" },
|
|
1048
|
+
{ url = "https://files.pythonhosted.org/packages/fa/ea/48e62a25084fc4b317f8bcc5c9823ddaaa73a0c7769ca451dda6919ff491/pyyaml-6.0.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c680622f85979f2ff59b4ae44c1ecb5566b2f0f0ffe5d0dc8b4bb6a0e916dabb", size = 193500, upload-time = "2026-11-20T23:36:54.416Z" },
|
|
1049
|
+
{ url = "https://files.pythonhosted.org/packages/49/dd/8c4df6becc936125261607073fbcd55e1d902a8d53ae4e4893d53b9df0ef/pyyaml-6.0.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:18ea9bda247857fc0de05181675dc116b54c1b04ca3db71de5d2108c882823b7", size = 188474, upload-time = "2026-11-20T23:36:55.651Z" },
|
|
1050
|
+
{ url = "https://files.pythonhosted.org/packages/d0/63/b60236ef09cbab7c5ce174aff59d49a3425b9a8e9bbe4690bd3b9b7d4fba/pyyaml-6.0.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6ac167ebebc0c387290406a337b9b5c8c343fa5f7928d5941e45a94b8ba3aa39", size = 848311, upload-time = "2026-11-20T23:36:56.961Z" },
|
|
1051
|
+
{ url = "https://files.pythonhosted.org/packages/f6/3b/4b14f064ae5d6f69638a86bb7bf1a46d02bb4de083798e693a4a83b1418a/pyyaml-6.0.4-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4a2a8f27d24d4cdc05aa11df5f4c08e13f30d9e6674809b6a5ddcfcba49a653a", size = 891181, upload-time = "2026-11-20T23:36:58.077Z" },
|
|
1052
|
+
{ url = "https://files.pythonhosted.org/packages/01/36/4e0b01e380bf3695d34a4bf6b9272c529f4c8d3195c733687d64fb9f8f06/pyyaml-6.0.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e956541cc7a3fff2bb5b17aeb6c5bb42c86c8e6dafb5ebdd41a05e72e702076b", size = 855715, upload-time = "2026-11-20T23:36:59.165Z" },
|
|
1053
|
+
{ url = "https://files.pythonhosted.org/packages/6d/a8/2784a29e687fa7a5882d47c925a98d1dbdd60ead521be14a9342c6a74ff9/pyyaml-6.0.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:8708f6ab9c2581ffa05f66dae3206bb0385949650537d7295fc7ab0d6454dd70", size = 818754, upload-time = "2026-11-20T23:37:00.248Z" },
|
|
1054
|
+
{ url = "https://files.pythonhosted.org/packages/bb/85/62d54e223b4bc89ff85f087a5ce2648e5d929d3214d64613dbae17d5e045/pyyaml-6.0.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:a65339c24f2fb8d4419e06ceec1bda98bdcff727b3b533a81d5af6bb2dd34520", size = 845763, upload-time = "2026-11-20T23:37:01.331Z" },
|
|
1055
|
+
{ url = "https://files.pythonhosted.org/packages/eb/40/6bd9090368664be984a83fd7fe64f8e044b067a52449679c309706e3199d/pyyaml-6.0.4-cp315-cp315t-win_amd64.whl", hash = "sha256:a3cc63af3d639d1609143711837b926183418260aae89ed95193c07b25b99d33", size = 163170, upload-time = "2026-11-20T23:37:02.3Z" },
|
|
1056
|
+
{ url = "https://files.pythonhosted.org/packages/0d/22/468d36762a0c650cf2295052998eb1d419053335ea9ff48a043f5ae4d578/pyyaml-6.0.4-cp315-cp315t-win_arm64.whl", hash = "sha256:d276f23e2371deb5ee68dd252cc9c2402b806b54d8d2cc7efbb6c34c3a78d886", size = 156942, upload-time = "2026-11-20T23:37:03.209Z" },
|
|
1039
1057
|
]
|
|
1040
1058
|
|
|
1041
1059
|
[[package]]
|
|
1042
1060
|
name = "ruff"
|
|
1043
|
-
version = "0.17.
|
|
1061
|
+
version = "0.17.6"
|
|
1044
1062
|
source = { registry = "https://pypi.org/simple" }
|
|
1045
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1063
|
+
sdist = { url = "https://files.pythonhosted.org/packages/df/8e/6929d337aa5380aafc7355f3149f3ccfe55cba5fdd34a045697ebaceb5a0/ruff-0.17.6.tar.gz", hash = "sha256:2b04276561331300325040bdca21460770029ec574d4c479099e39e8ad1ed43c", size = 5374388, upload-time = "2026-11-19T15:56:27.106Z" }
|
|
1046
1064
|
wheels = [
|
|
1047
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1048
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1049
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1050
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1051
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1052
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1053
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1054
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1055
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1056
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1057
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1058
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1059
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1060
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1061
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1062
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1063
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1065
|
+
{ url = "https://files.pythonhosted.org/packages/12/5d/38ef6310c22cacb094e9ae0ff7964062e04ffeecb45ee296894c2b1acc54/ruff-0.17.6-py3-none-linux_armv6l.whl", hash = "sha256:084d9c8f5ec718e7eba007dba339e7cb4f7571d2f267558ae080bf428fb6a69b", size = 10174693, upload-time = "2026-11-19T15:55:52.414Z" },
|
|
1066
|
+
{ url = "https://files.pythonhosted.org/packages/a2/ed/fd35261049920a4888ef7c787a5c27089502077a4910f6ca8f1213157d6d/ruff-0.17.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9d44ef2140402043fd6f689ef541858b80883a8b0a02e38539ef0614ebe57d0c", size = 10221650, upload-time = "2026-11-19T15:55:54.962Z" },
|
|
1067
|
+
{ url = "https://files.pythonhosted.org/packages/ba/d4/c31391b36c729cd9fafa65b7a52a58850b99afb2b65da6be4263a53302f2/ruff-0.17.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:9fbddc08577592e283c265d865e0182de6e33db185494db7b06290d989d888e5", size = 9580986, upload-time = "2026-11-19T15:55:57.391Z" },
|
|
1068
|
+
{ url = "https://files.pythonhosted.org/packages/eb/11/f3032684dcb3a676d7924545153d76fb56f76753e038f2ea650b99c71bdf/ruff-0.17.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:435241c61af5909a022f76219d3d1bf24730dc1bf0acabb5ddf4b569ab3cbb30", size = 10271368, upload-time = "2026-11-19T15:55:59.654Z" },
|
|
1069
|
+
{ url = "https://files.pythonhosted.org/packages/08/30/c1e024eeb5bae99ae78c6b896ed108f64c9c845a03b56eaeff098e99b6e6/ruff-0.17.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d006bbb2945edb17b0ce6a0c1b5f5a8d81ba11dbac294a0a925effa22ce34feb", size = 9981564, upload-time = "2026-11-19T15:56:01.807Z" },
|
|
1070
|
+
{ url = "https://files.pythonhosted.org/packages/7d/a5/da3e0c2d4bf02b3ca6c1d7fa4bb04d0081e340b1dd03c4f83b1bec3e15c1/ruff-0.17.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fd661702202a89c00a4c9d0339008805fa5876bfa1c57e165495c2e62230dfbf", size = 10641991, upload-time = "2026-11-19T15:56:03.981Z" },
|
|
1071
|
+
{ url = "https://files.pythonhosted.org/packages/4d/c1/6d7f981e86201c9db457cca99fd2c09b77574ebab37dff3e9239b218603c/ruff-0.17.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6a12c50a33936dc00db2be21ba25fb168a8b95c55eda2a3ac85005af69885e4b", size = 11403484, upload-time = "2026-11-19T15:56:05.778Z" },
|
|
1072
|
+
{ url = "https://files.pythonhosted.org/packages/c3/92/8182f07b94998541d5f8f38f53da465aa28062afce24ecc398f45bfc62f1/ruff-0.17.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b5aba93b3db4b70c5697e4fee6e0d5b9c8452a9a3a03679611cadc25915a2173", size = 10892316, upload-time = "2026-11-19T15:56:08.016Z" },
|
|
1073
|
+
{ url = "https://files.pythonhosted.org/packages/be/48/3df7d81249fd69ee6a49519b149fb5d11e13118fd7d0e8d65329a237087b/ruff-0.17.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa3b08254a732acba246891089a152c47c5733dc36b8ecb76ce8602f8326e5e4", size = 10645279, upload-time = "2026-11-19T15:56:09.785Z" },
|
|
1074
|
+
{ url = "https://files.pythonhosted.org/packages/71/80/4d232281544345d7beb98d1d32c24dae804ed360780a6f7753738b81225e/ruff-0.17.6-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:0692088e6b33455572fb18465e891b443f196e98dc1986825685c77ff6f4c5ac", size = 10534501, upload-time = "2026-11-19T15:56:11.718Z" },
|
|
1075
|
+
{ url = "https://files.pythonhosted.org/packages/98/0a/b477f075a4a94eb541bf1c759a3e72b2a3d6390af7a13a5be0887229f67c/ruff-0.17.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:fb589e032806bb942e4fb526f30b80a1a64112147ed9f1d38cc3de2e255b6f45", size = 10136036, upload-time = "2026-11-19T15:56:13.779Z" },
|
|
1076
|
+
{ url = "https://files.pythonhosted.org/packages/f1/d8/cf32fbfeb1fcda1470fb5c3bee50c69ee6bca257d487ec1eb17a0387edb4/ruff-0.17.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1939b3d701c7b6981b7cf93473de5bf88b129b9ba84efaed5154cc517c44634d", size = 9969640, upload-time = "2026-11-19T15:56:15.738Z" },
|
|
1077
|
+
{ url = "https://files.pythonhosted.org/packages/a7/22/bb9f9752f7fcdfdc8b9c51576cc142bb377ade745290e35085173963c7be/ruff-0.17.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1a0bea6aa1216e0ec4cd35d3dbccec0d772a7c2aad28ec9c6e82571dff2c20b0", size = 10389427, upload-time = "2026-11-19T15:56:17.617Z" },
|
|
1078
|
+
{ url = "https://files.pythonhosted.org/packages/81/c7/e09d220818ab146b736d62e0676dad215215d7de0884bbdad9fa075dc7d2/ruff-0.17.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:3db61f5015600543a581b07fa7f6f64afa0eeedefe16034cadd88c4074087582", size = 10760296, upload-time = "2026-11-19T15:56:19.463Z" },
|
|
1079
|
+
{ url = "https://files.pythonhosted.org/packages/2e/09/28329441dfa2c463e2d377a69d4ebbe4d51665e9dbd49fb421f3bc80d775/ruff-0.17.6-py3-none-win32.whl", hash = "sha256:c2f4af6670b7a0501904e881bb3f1f24bd0d964dec1eedbd85f0eb73786e1128", size = 9966266, upload-time = "2026-11-19T15:56:21.581Z" },
|
|
1080
|
+
{ url = "https://files.pythonhosted.org/packages/4b/9d/18ba9730addfc7554c70d6f171fb8dc2c08e774d9fb2b98e7946ef845c59/ruff-0.17.6-py3-none-win_amd64.whl", hash = "sha256:9cd2fd9923e9806b8b6b67a3469e2258e84bd4d21e45d5a1a690afdfb9c8e57d", size = 10365847, upload-time = "2026-11-19T15:56:23.582Z" },
|
|
1081
|
+
{ url = "https://files.pythonhosted.org/packages/70/8a/59c33e2a64a4f9672f7f842a0dc522915cfbbaffd13d37d0cec57d1c5c5d/ruff-0.17.6-py3-none-win_arm64.whl", hash = "sha256:d8b14e1473dc86ab9069cf7a2ba5041dc012f59110201844ed04cfddf07055a0", size = 9926224, upload-time = "2026-11-19T15:56:25.269Z" },
|
|
1064
1082
|
]
|
|
1065
1083
|
|
|
1066
1084
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/postman/hilo-prod.postman_environment.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_hilo-2026.11.3 → python_hilo-2026.12.1}/doc/signalr/challengehub/ChallengeAdded.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|