Skip to content

docs: add availability note to vessel_risk_level docstrings#563

Merged
kdalkas merged 2 commits into
masterfrom
sdk-vessel-risk-docs
May 12, 2026
Merged

docs: add availability note to vessel_risk_level docstrings#563
kdalkas merged 2 commits into
masterfrom
sdk-vessel-risk-docs

Conversation

@kdalkas
Copy link
Copy Markdown
Contributor

@kdalkas kdalkas commented May 11, 2026

CHANGELOG

  • Add availability note to vessel_risk_level and vessel_risk_level_excluded docstrings
  • Note explains filter may not be available for all accounts and vessel_risk_level will not
    appear in response data
  • Update example notebooks with the same note

TESTS

  • Documentation change only, no functional changes

COMMENTS

Screenshot 2026-05-11 at 16 22 18

Copilot AI review requested due to automatic review settings May 11, 2026 15:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Python SDK documentation to clarify that the vessel_risk_level / vessel_risk_level_excluded filters may not be available for all accounts, and that when unavailable the API will ignore the filter and omit vessel_risk_level from response data. The same clarification is added to the affected example notebooks.

Changes:

  • Add availability disclaimers to voyage endpoint search() docstrings for vessel_risk_level and vessel_risk_level_excluded.
  • Add the same disclaimers to vessel availability endpoint docstrings for filter_vessel_risk_level / exclude_vessel_risk_level.
  • Update academy notebooks with a user-facing note about risk_rating / risk_rating_excl mapping to the API fields.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
vortexasdk/endpoints/voyages_vessel_class_breakdown.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_top_hits.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_timeseries.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_timeseries_v2.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_search_enriched.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_routes_breakdown.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_product_breakdown.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_geography_breakdown.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/voyages_congestion_breakdown.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/vessel_availability_timeseries.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/vessel_availability_search.py Docstring note added for risk level filter availability.
vortexasdk/endpoints/vessel_availability_breakdown.py Docstring note added for risk level filter availability.
docs/examples/academy_use_cases/Freight & Voyages/Fleet distribution per location.ipynb Notebook narrative updated with availability note for risk rating params.
docs/examples/academy_use_cases/Freight & Voyages/Case Study of Voyages data.ipynb Notebook narrative updated with availability note for risk rating params.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread vortexasdk/endpoints/voyages_top_hits.py
Comment thread vortexasdk/endpoints/voyages_vessel_class_breakdown.py
Comment thread vortexasdk/endpoints/voyages_timeseries.py
Comment thread vortexasdk/endpoints/voyages_timeseries_v2.py
Comment thread vortexasdk/endpoints/voyages_search_enriched.py
Comment thread vortexasdk/endpoints/vessel_availability_timeseries.py
Comment thread vortexasdk/endpoints/vessel_availability_search.py
Comment thread vortexasdk/endpoints/vessel_availability_search.py
Comment thread vortexasdk/endpoints/vessel_availability_breakdown.py
Comment thread vortexasdk/endpoints/vessel_availability_breakdown.py
@kdalkas kdalkas enabled auto-merge (squash) May 12, 2026 09:17
@kdalkas kdalkas merged commit a6763c9 into master May 12, 2026
10 of 12 checks passed
@kdalkas kdalkas deleted the sdk-vessel-risk-docs branch May 12, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants