Notifications-python-client

Latest version: v10.0.0

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

Scan your dependencies

Page 8 of 8

4.0.0

Not secure
Changed
* Using version 2 of the notification-api.
* When creating a new NotificationsAPIClient the optional parameter of service_id has been removed. The api_key is a combined string contain the api_key and the service_id
* Update to `NotificationsAPIClient.send_sms_notification()`:
* added `reference`: an optional unique identifier for the notification or an identifier for a batch of notifications. `reference` can be omitted.
* the `dict` returned has changed, learn more from the [README](https://github.com/alphagov/notifications-python-client#text-message).
* Update to `NotificationClient.send_email_notification()`:
* added `reference`: an optional unique identifier for the notification or an identifier for a batch of notifications. `reference` can be omitted.
* the `dict` returned has changed, learn more from the [README](https://github.com/alphagov/notifications-python-client#email).
* Update to the response of `NotificationsAPIClient.get_notification_by_id(id)`, see the [README](https://github.com/alphagov/notifications-python-client#get-the-status-of-one-message) for details.

3.0.0

Changed
* `BaseClient` method signature: `base_url` is now optional. See [41](https://github.com/alphagov/notifications-python-client/pull/41)
* `BaseClient` method signature: `api_key` is now a positional argument. See [41](https://github.com/alphagov/notifications-python-client/pull/41)

2.0.0

Changed
* Replace asserts with proper exceptions in jwt token code. See [40](https://github.com/alphagov/notifications-python-client/pull/40)

Prior versions

Changelog not recorded - please see pull requests on github.

Page 8 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.