univ-of-utah-marriott-library-apple / python-jamf

`python-jamf` is a library for connecting to a Jamf Server. It maps Jamf Pro records to a Record class. It is the basis for the `jctl` tool to automate patch management & packages and many other items.
MIT License
55 stars 16 forks source link

Changed records.py #32

Closed magnusviri closed 3 years ago

magnusviri commented 3 years ago

Cleaned up new. init creates a record (post) if no query is given. Records can be created from json text, a json file, or raw python data. Rewrote delete, post, put. Checks swagger file to make sure API is valid before executing. Made Records an iterator.