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

api reference: update docstrings #142

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

JohntheLi
Copy link
Collaborator

update some docstrings for clarity.

for reference, our current way of updating https://creator.poe.com/docs/fastapi_poe-python-reference is:

  1. update docstrings in code
  2. install local version of fastapi_poe using pip3 install -e .
  3. run python3 generate_api_reference.py
  4. paste the generated api_reference.md into ReadMe.

the above steps are documented in docs/generate_api_reference.py, but it seems like this is tedious/easy to forget. We should invest some time to automate this so the reference does not fall behind.

update some docstrings for clarity.
currently, we rely on manual process to python3 generate_api_reference.py and paste it on readme.
@JohntheLi JohntheLi requested a review from a team as a code owner January 24, 2025 22:03
@JohntheLi JohntheLi merged commit b72f657 into poe-platform:main Jan 29, 2025
14 checks passed
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