Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a non-leaky API #44

Open
exhuma opened this issue Jun 7, 2018 · 0 comments
Open

Provide a non-leaky API #44

exhuma opened this issue Jun 7, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@exhuma
Copy link
Owner

exhuma commented Jun 7, 2018

Currently, the package provides a "leaky abstraction" in the sense that calls to the main entry-point functions return data-types which are internal to puresnmp (most notably ObjectIdentifier).

The returned data-types should always be pure Python types.

Sometimes the "raw" data-types may provide useful functionalities, and as such a second entry-point should be provided to return the values unmodified. This would make it explicit to the end-user what kind of types are returned.

@exhuma exhuma added this to the Release 2.0 milestone Jun 7, 2018
@exhuma exhuma self-assigned this Jun 7, 2018
@exhuma exhuma added the v1.x label May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant