✨ feat: get_product(product_id) #154
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/get-product"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Detail read for a single catalogue product, same shape as the list entries (
{id, name, brand, cardinality, features}— live-verified 2026-10-11, seedocs/energy.comwatt.com/misc-endpoints.md). Unknown-id behavior not probed live; noted in the docstring.Evidence
AttributeError: 'ComwattClient' object has no attribute 'get_product'; baselinepytest= 179 passed.ComwattAPIError, asserting method/path/query);pytest= 182 passed;mypyclean.Merge Danger
Door: two-way — purely additive; revert restores the previous client exactly.
Blast Radius: minimal — one new public method on
CataloguesMixin, nothing existing touched.Closes #152
WIP: ✨ feat: get_product(product_id)to ✨ feat: get_product(product_id)