astarte-platform / astarte-platform/astarte-device-sdk-python

[MessageHub]: Use Empty type rather than Node to detach a Node

Open
#164 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Since the only information that we need for detaching an Node is the nodeId, and it is provided by GRPC metadata, we can use the Empty type rather than Node on detach method.
It depends on #163.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issue #163 and the MessageHub detach method in the Python SDK. Trace how the nodeId is obtained from gRPC metadata and how the current Node request is handled. Done means the detach API uses Empty while preserving node identification through metadata, with the relevant tests updated and passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
api
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.