New API propagation? #68
JoelBender
started this conversation in
Polls
Replies: 1 comment
-
this looks familiar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
Application
class has new parsing routines to make it easier to translate strings likedevice,123
into anObjectIdentifier
. These are used in theread_property()
methods so library users don't need need as much boiler plate code and it can consistently handle proprietary object types and properties. A "strong" and "type safe" API would restrict theaddress
parameter to be anAddress
instance, so I'm putting this in the Robustness Principle.I made changes to the
read-property.py
sample applications, but not todo_read()
in__main__.py
, so the down side is that there is more than one way to call the API.0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions