Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Conversation

@desaxce
Copy link
Contributor

@desaxce desaxce commented Nov 20, 2024

Changes:

  • made all doc part of BaseLiteralAPI so async versions get doc (previous hack with doc didn't work at all)
  • added typing to all APIs
  • reworded all the documentation
  • fixed misalignments between sync and async clients

To test:

Open your favorite IDE and check you can view documentation for both the sync and async clients APIs / classes
All objects (prompt, dataset, etc. should have documentation). All methods in API should have documentation.

Some formatting issues with Cursor, but it should render well on VSCode at least.

@Matthieu-OD Matthieu-OD self-requested a review November 25, 2024 14:51
Copy link
Contributor

@Matthieu-OD Matthieu-OD left a comment

Choose a reason for hiding this comment

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

Really nice work! I try to be as cautious as possible when reviewing docstring

Let's merge

@desaxce desaxce merged commit f657996 into main Nov 25, 2024
2 checks passed
@desaxce desaxce deleted the hugues/eng-2112-the-python-sdk-lacks-docstring-documentation branch November 25, 2024 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants