Skip to content

Commit

Permalink
Merge pull request #1609 from USEPA/wiljnichepa-patch-1
Browse files Browse the repository at this point in the history
4.0.3
  • Loading branch information
wiljnichepa authored May 14, 2024
2 parents 510a161 + 4dd939c commit 971a655
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion emanifest-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "emanifest"
version = "4.0.2"
version = "4.0.3"
description = "An API utility wrapper for accessing the e-Manifest hazardous waste tracking system maintained by the US Environmental Protection Agency"
readme = "README.md"
authors = [
Expand Down
13 changes: 13 additions & 0 deletions emanifest-py/src/emanifest/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,20 @@ def sign_manifest(self, **kwargs) -> RcrainfoResponse:
"""
endpoint = f"{self.base_url}v1/emanifest/manifest/quicker-sign"
return self.__rcra_request("POST", endpoint, **kwargs)

def get_available_manifests(self, mtn: str) -> RcrainfoResponse:
"""
Returns previous and future signature-related information about manifest and respective sites
Args:
mtn (str): Manifest tracking number
Returns:
dict: object containing manifest signature details
"""
endpoint = f"{self.base_url}v1/emanifest/manifest/available-to-sign/{mtn}"
return self.__rcra_request("GET", endpoint)

def save_manifest(
self, manifest_json: dict, zip_file: bytes = None
) -> RcrainfoResponse:
Expand Down

0 comments on commit 971a655

Please sign in to comment.