diff --git a/CHANGELOG.md b/CHANGELOG.md index ba225d4..5b60fc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.2.0] +## [3.1.0] ### Added * Added `HyP3.submit_insar_isce_burst_job` and `HyP3.prepare_insar_isce_burst_job` methods for submitting InSAR ISCE burst jobs to HyP3. +## [3.0.0] +### Removed +* Removed the `Job.subscription_id` attribute in response to the Subscriptions feature being removed from HyP3. + ## [2.1.1] ### Fixed * The `user_id` parameter has been moved to the end of the `HyP3.find_jobs` parameter list, to avoid diff --git a/src/hyp3_sdk/jobs.py b/src/hyp3_sdk/jobs.py index efe2aca..13d02ca 100644 --- a/src/hyp3_sdk/jobs.py +++ b/src/hyp3_sdk/jobs.py @@ -23,7 +23,6 @@ def __init__( request_time: datetime, status_code: str, user_id: str, - subscription_id: Optional[str] = None, name: Optional[str] = None, job_parameters: Optional[dict] = None, files: Optional[List] = None, @@ -38,7 +37,6 @@ def __init__( self.request_time = request_time self.status_code = status_code self.user_id = user_id - self.subscription_id = subscription_id self.name = name self.job_parameters = job_parameters self.files = files @@ -66,7 +64,6 @@ def from_dict(input_dict: dict): request_time=parse_date(input_dict['request_time']), status_code=input_dict['status_code'], user_id=input_dict['user_id'], - subscription_id=input_dict.get('subscription_id'), name=input_dict.get('name'), job_parameters=input_dict.get('job_parameters'), files=input_dict.get('files'),