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

Add ability to get ZFS object properties #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

anodos325
Copy link
Contributor

This adds common methods and utility functions for getting ZFS properties.

@anodos325 anodos325 force-pushed the add-get-properties branch 4 times, most recently from 136b76f to 4644111 Compare January 30, 2025 12:54
* Add common methods and utility functions for getting ZFS properties.

* Add a common asdict() method for ZFS resources. The optional output
for this method will increase as more options are plumbed into its kwargs.

* Expand the module state with references to commonly used objects.

* Add proper cleanup method for module state.
src/py_zfs_resource.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants