Skip to content

improve releases links and vessel include documentation#58

Merged
lykmapipo merged 14 commits intofeature/additional-insightsfrom
feature/docs
Apr 29, 2026
Merged

improve releases links and vessel include documentation#58
lykmapipo merged 14 commits intofeature/additional-insightsfrom
feature/docs

Conversation

@lykmapipo
Copy link
Copy Markdown
Collaborator

This:

  • Add direct links to GitHub Releases and PyPI package on the documentation homepage
  • Clarify behavior of POTENTIAL_RELATED_SELF_REPORTED_INFO vessel include option
  • Expand vessel include docstrings with additional usage context and references
  • Align VesselResource parameter documentation with updated include descriptions

This:
- add direct link to GitHub Releases page
- add direct link to published package on PyPI
…cumentation

This:
- align Insights API documentation with official Global Fishing Watch API terminology
- enhance docstrings with official documentation references and data caveats
- update `VesselInsightDatasetVessel` model to use `VesselDataset` enum for dataset identifiers
- improve `VesselInsightBody` request model with explicit field aliases and clearer parameter documentation
- extend `get_vessel_insights()` to accept vessel IDs directly (`List[str]`)
- add validation tests for invalid request payload scenarios
- add unit tests verifying request serialization and default dataset handling
- improve test coverage for resource behavior when vessel IDs are passed directly
This:
- update integration tests to pass vessel IDs directly instead of `{dataset_id, vessel_id}` objects
- add integration tests for `VESSEL-IDENTITY-FLAG-CHANGES` insight type
- add integration tests for `VESSEL-IDENTITY-MOU-LIST` insight type
This:
- update caveat references and dataset examples in documentation
- update vessel input examples to use vessel ID strings instead of `{dataset_id, vessel_id}` objects
- expand examples for `FISHING`, `VESSEL-IDENTITY-IUU-VESSEL-LIST`, and `COVERAGE` insights
- expand examples for `GAP`,  `VESSEL-IDENTITY-FLAG-CHANGES`, and `VESSEL-IDENTITY-MOU-LIST` insights
- add example showing retrieval of multiple insights for multiple vessels
…ehavior

This:
- expand `VesselInclude.POTENTIAL_RELATED_SELF_REPORTED_INFO` docstring
- add official Vessel Viewer reference link for context and usage understanding
- align `VesselResource` parameter documentation with updated include description
@lykmapipo lykmapipo self-assigned this Mar 31, 2026
@lykmapipo lykmapipo added the documentation Improvements or additions to documentation label Mar 31, 2026
Copy link
Copy Markdown
Collaborator

@giselamo giselamo left a comment

Choose a reason for hiding this comment

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

Added a small comment

Comment thread src/gfwapiclient/resources/vessels/base/models/request.py
Comment thread src/gfwapiclient/resources/vessels/resources.py
Comment thread src/gfwapiclient/resources/vessels/resources.py
This:
- Update docstrings with links to Vessels API documentation
- Update docstrings with vessel identity data caveats
This:
- Add instructions for enabling `FLAG-CHANGES` and `MOU-LIST` insights
- Update caveat links to use "Apparent fishing" terminology
enhance insights API models, documentation, and test coverage
@lykmapipo lykmapipo merged commit 10ae18f into feature/additional-insights Apr 29, 2026
1 check passed
@lykmapipo lykmapipo deleted the feature/docs branch April 29, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants