eclipse-velocitas / vehicle-app-python-sdk

vehicle-app-python-sdk
Apache License 2.0
7 stars 18 forks source link

[Feature]: Add subscribe to Node class #127

Open Chrylo opened 2 months ago

Chrylo commented 2 months ago

Description

Only a DataPoint (subclass of a node) has a subscribe method. This forces the developer to force cast from Node to DataPoint when using the following API:

node: DataPoint = self.Vehicle.getNode(signal_str) # type: ignore

_Originally posted by @Chrylo in https://github.com/eclipse-velocitas/vehicle-app-python-sdk/pull/126#discussion_r1615745383_

Suggested Solution

Alternatives

No response

Additional Context

No response