Skip to content

Conversation

juni2003
Copy link
Contributor

@juni2003 juni2003 commented Sep 8, 2025

Description

This PR significantly improves the Functions-py README documentation by addressing several usability issues and providing comprehensive examples.

Changes Made:

  • Add multiple installation methods (pip, uv, poetry)
  • Include comprehensive async and sync client examples
  • Add proper error handling and authentication examples
  • Link to official Supabase Functions documentation
  • Improve code structure and readability

Fixes #1216

What kind of change does this PR introduce?

Documentation update

What is the current behavior?

The current README has minimal installation instructions (only pip3), lacks proper examples with error handling and authentication, and doesn't provide synchronous client examples. The documentation reference is vague without proper links.

What is the new behavior?

The updated README provides:

  • Multiple installation options for different package managers
  • Complete, realistic examples with proper error handling
  • Both async and sync client implementations
  • Direct links to official Supabase documentation
  • Better code organization and comments

Additional context

This improvement makes the library much more accessible to new users by providing practical, copy-paste examples and comprehensive installation instructions.

- Add multiple installation methods (pip, uv, poetry)
- Include comprehensive async and sync client examples
- Add proper error handling and authentication examples
- Link to official Supabase Functions documentation
- Improve code structure and readability

Fixes supabase#1216
@grdsdev grdsdev requested a review from o-santi September 16, 2025 13:36
@grdsdev grdsdev merged commit 7eee056 into supabase:main Sep 16, 2025
7 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 17558433745

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.74%

Totals Coverage Status
Change from base Build 17555570378: 0.0%
Covered Lines: 8610
Relevant Lines: 9185

💛 - Coveralls

@juni2003 juni2003 deleted the patch-1 branch September 20, 2025 15:07
@github-actions github-actions bot mentioned this pull request Sep 22, 2025
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.

docs(functions): Functions README lacks installation options and complete examples

3 participants