Skip to content

Commit

Permalink
Chore/remove alert log (#384)
Browse files Browse the repository at this point in the history
* Removing get_alert_log method
  • Loading branch information
ryan-haley-code42 committed Oct 28, 2021
1 parent ae748ea commit 56e238c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
The intended audience of this file is for py42 consumers -- as such, changes that don't affect
how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here.

## Unreleased

### Removed

- Removed method Get_alert_log(), method was no longer functional

## 1.19.2 - 2021-10-19

### Fixed
Expand Down
12 changes: 0 additions & 12 deletions src/py42/services/administration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@


class AdministrationService(BaseService):
def get_alert_log(
self, status=None, alert_type=None, page_num=None, page_size=None
):
uri = "/api/AlertLog"
params = {
"status": status,
"type": alert_type,
"pgNum": page_num,
"pgSize": page_size,
}
return self._connection.get(uri, params=params)

def get_current_tenant(self):
uri = "/c42api/v3/customer/my"
return self._connection.get(uri)

0 comments on commit 56e238c

Please sign in to comment.