From caa2e5620990b4fe079c4f9400ae0d0559b164a9 Mon Sep 17 00:00:00 2001 From: Charles Ojukwu Date: Wed, 16 Jul 2025 10:43:52 +0100 Subject: [PATCH 1/3] chore: remove depracated commitment status options --- vortexasdk/endpoints/voyages_congestion_breakdown.py | 2 +- vortexasdk/endpoints/voyages_geography_breakdown.py | 2 +- vortexasdk/endpoints/voyages_product_breakdown.py | 2 +- vortexasdk/endpoints/voyages_routes_breakdown.py | 2 +- vortexasdk/endpoints/voyages_search_enriched.py | 2 +- vortexasdk/endpoints/voyages_timeseries.py | 2 +- vortexasdk/endpoints/voyages_timeseries_v2.py | 2 +- vortexasdk/endpoints/voyages_top_hits.py | 2 +- vortexasdk/endpoints/voyages_vessel_class_breakdown.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/vortexasdk/endpoints/voyages_congestion_breakdown.py b/vortexasdk/endpoints/voyages_congestion_breakdown.py index 1e77607d..e17cca1f 100644 --- a/vortexasdk/endpoints/voyages_congestion_breakdown.py +++ b/vortexasdk/endpoints/voyages_congestion_breakdown.py @@ -128,7 +128,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_geography_breakdown.py b/vortexasdk/endpoints/voyages_geography_breakdown.py index 87d0980d..2ba8ac7b 100644 --- a/vortexasdk/endpoints/voyages_geography_breakdown.py +++ b/vortexasdk/endpoints/voyages_geography_breakdown.py @@ -161,7 +161,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_product_breakdown.py b/vortexasdk/endpoints/voyages_product_breakdown.py index 4230f169..af8c84fa 100644 --- a/vortexasdk/endpoints/voyages_product_breakdown.py +++ b/vortexasdk/endpoints/voyages_product_breakdown.py @@ -161,7 +161,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_routes_breakdown.py b/vortexasdk/endpoints/voyages_routes_breakdown.py index 77daf0e8..ab9e8cdf 100644 --- a/vortexasdk/endpoints/voyages_routes_breakdown.py +++ b/vortexasdk/endpoints/voyages_routes_breakdown.py @@ -160,7 +160,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_search_enriched.py b/vortexasdk/endpoints/voyages_search_enriched.py index 44a1dddc..a3fdabc5 100644 --- a/vortexasdk/endpoints/voyages_search_enriched.py +++ b/vortexasdk/endpoints/voyages_search_enriched.py @@ -135,7 +135,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_timeseries.py b/vortexasdk/endpoints/voyages_timeseries.py index c934b40a..c7e77d18 100644 --- a/vortexasdk/endpoints/voyages_timeseries.py +++ b/vortexasdk/endpoints/voyages_timeseries.py @@ -140,7 +140,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_timeseries_v2.py b/vortexasdk/endpoints/voyages_timeseries_v2.py index aafaa0ec..f421a379 100644 --- a/vortexasdk/endpoints/voyages_timeseries_v2.py +++ b/vortexasdk/endpoints/voyages_timeseries_v2.py @@ -155,7 +155,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_top_hits.py b/vortexasdk/endpoints/voyages_top_hits.py index 575908ed..3b64bdad 100644 --- a/vortexasdk/endpoints/voyages_top_hits.py +++ b/vortexasdk/endpoints/voyages_top_hits.py @@ -139,7 +139,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. diff --git a/vortexasdk/endpoints/voyages_vessel_class_breakdown.py b/vortexasdk/endpoints/voyages_vessel_class_breakdown.py index c37a06d1..9ae7fdc6 100644 --- a/vortexasdk/endpoints/voyages_vessel_class_breakdown.py +++ b/vortexasdk/endpoints/voyages_vessel_class_breakdown.py @@ -158,7 +158,7 @@ def search( location_status_excluded: A location status, or list of location statuses to exclude. - commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'uncommitted'`, `'open'`, `'unknown'`. + commitment_status: A commitment status, or list of commitment statuses to filter on. Can be one of: `'committed'`, `'unknown'`. commitment_status_excluded: A commitment status, or list of commitment statuses to exclude. From b37cd7d6e95c08468f3a18310604fa518840382b Mon Sep 17 00:00:00 2001 From: Charles Ojukwu Date: Wed, 16 Jul 2025 14:39:49 +0100 Subject: [PATCH 2/3] chore: version no --- vortexasdk/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vortexasdk/version.py b/vortexasdk/version.py index 39e0411d..9fd0f8dd 100644 --- a/vortexasdk/version.py +++ b/vortexasdk/version.py @@ -1 +1 @@ -__version__ = "1.0.9" +__version__ = "1.0.10" From 96ac05302141ace9ca83447f53427377c6c07354 Mon Sep 17 00:00:00 2001 From: Charles Ojukwu Date: Thu, 24 Jul 2025 11:17:19 +0100 Subject: [PATCH 3/3] chore: fix test --- tests/endpoints/test_availability_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/endpoints/test_availability_search.py b/tests/endpoints/test_availability_search.py index d8b17348..a2e31fd3 100644 --- a/tests/endpoints/test_availability_search.py +++ b/tests/endpoints/test_availability_search.py @@ -85,8 +85,8 @@ def test_vessel_properties(self): assert len(df) == 10 def test_search_with_dates(self): - start = datetime(2021, 6, 20) - end = datetime(2021, 6, 21) + start = datetime(2023, 6, 20) + end = datetime(2023, 6, 21) results = VesselAvailabilitySearch().search( filter_port=rotterdam,