Pyonms

Latest version: v0.1.3

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

Scan your dependencies

Page 1 of 2

0.1.3

What's Changed

* Revert nodes get functions to default components to `NodeComponents.NONE` instead of `ALL`.
* Added `Enlkind` endpoint and models.
* Update local testing/linting configuration.
* Add testing for `utils` methods.
* Add `mypy` for type checking during development.
* Add `pyonms.utils.check_ip_address()` to validate IP addresses.
* Fix type hint for `models.Info`'s `version` and `datetimeformatConfig` attributes.
* Rename all `_to_dict()` methods to `to_dict()`. Added stub method reference to keep backward compatibility.

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.1.2...v0.1.3

0.1.2

Breaking Change

* Updated `ApiPayloadError` exception to trigger when API returns HTTP 400+.

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.1.1...v0.1.2

0.1.1

Breaking Change

* Add `ApiPayloadError` exception when API returns HTTP 500-599. Previously many error responses were steamrolled over.

What's Changed

* Renamed internal `uri` parameters to be `url`.
* Deprecate `MethodNotImplemented` exception. Replaced with base `NotImplementedError`.
* Docstring updates to satisfy pylint.
* Prevent `Event.id` from being sent as part of the event payload when posting to the `events` endpoint.
* Update `get_foreign_sources()` and `get_requisitions()` to no longer use custom `_get()` method.
* `Endpoint._put()` method now returns the `Requests.Response` object instead of null.
* Tweaks to testing framework settings.
* Added `NodeComponents.NONE` option.
* Fix type hint on `Endpoint_post.data` attribute.
* Add Node/IP/Service metadata modification to the `Nodes` endpoint.

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.0.13...v0.1.1

0.0.13

What's Changed

* Fixed `foreign_source` model for processing `parameter`s.
* Updated `dao` and `model` module bases to allow importing within from the `pyonms` module
* Remove deprecated cloud portal module
* Remove deprecated Antora documentation

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.0.12...v0.0.13

0.0.12

What's Changed

* Added IP Interface endpoint

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.0.11...v0.0.12

0.0.11

What's Changed

* Add lastAutomationTime and firstAutomationTime parameters to the Alarm model
* Apply pylint suggestions
* Add option to set a timeout for REST calls
* Slightly improve error handling on some REST calls

**Full Changelog**: https://github.com/mmahacek/PyONMS/compare/v0.0.10...v0.0.11

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.