Nav

Latest version: v5.3.1

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

5.0.1

* Fix some regressions introduced by the 5.0.0 release

5.0.0

Never thought I'd have to do this but here's the second major version in the same day. Had to bump because order of arguments to `nav.meta/service/page/codeunit` has changed again and some arguments have been renamed to not be misleading.

* Feature: New class `nav.NAV` for easier programmatic access
* Feature: Shortcut methods on `nav.NAV` object - `nav.NAV.read_multiple()` and `nav.NAV.create_multiple()`
* Feature: Cache WS client service objects to speed up subsequent calls to WS endpoints
* Feature: Add in-memory WSDL and XSD definition caching for faster access when calling the same endpoint multiple times. Defaults to 3600 seconds and can be overridden in the `nav.NAV` constructor

4.0.0

* Rewrite to make use of the dedicated SOAP library `zeep`, which gives us a number of benefits:
* Always returns the correct type for all types of fields, no need for `force_list`.
* Fields that are not returned in the HTTP response because of null values are created by zeep which should make the returned data more easy to work with.
* Automatic validation of passed in filters and data
* Performance is a bit worse for the classic `nav.meta`, `nav.codeunit`, `nav.page` (about 20%) but this can be improved with WSDL definition caching in a future release
* Feature: New CLI command for interacting with the NAV web services
* Breaking change: `nav.page` function name argument has moved to after page name arg to make the API more consistent with `nav.codeunit`. Same goes for CLI equivalent.
* Breaking change: CLI dependencies are now an optional install. See `README.md` for details on how to install.
* Change: Don't set log level in CLI usage unless explicitly specified

3.0.2

* Allow passing in additional data alongside CreateMultiple entries list

3.0.1

* Only call `logging.basicConfig` when run as a CLI utility. Should be set by the user of this package when run programmatically.
* Log headers for each request
* Set request info logging to debug level

3.0.0

* Add support for creating page entries with CreateMultiple. Signature for `nav.page` has changed to take `method` as its second argument. Supports ReadMultiple (previous default) and CreateMultiple.
* Default to always turning elements with the same name as the Page into lists results for ReadMultiple and CreateMultiple page results. Disable this behavior by passing in `force_list=False` to `nav.page`.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.