Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Update tasks.py improve docstring clarity and completeness #2

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nwekealex65
Copy link
Owner

@nwekealex65 nwekealex65 commented Mar 19, 2024

What does this PR do?

This pull request adds a detailed docstring to the retrieve_task_details endpoint. The docstring provides comprehensive information about the endpoint's functionality, including its purpose, parameters, return value, and potential exceptions. It includes an example response to illustrate the expected output.

It resolve issue hotosm#219

Consideration:

While developing this enhancement, the following considerations were taken into account:

Ensuring clarity and completeness in the documentation to aid in understanding the endpoint's usage and behavior.
Providing an example response to demonstrate the format of the output under different conditions.

How to test?

To test this enhancement:

Visist http://127.0.0.1:8000/v1/docs

This commit enhances the docstrings to improve clarity for get_list_details endpoint.
@Olatundeawo
Copy link

Have created a pull request.

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.

2 participants