You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, instead of specifying each field as NotRequired, all fields are treated as optional with total=False. This makes the code simpler and more readable. reference
If it's convenient for you, I would be happy to help you.
The text was updated successfully, but these errors were encountered:
Chore
Refactoring
In Python 3.8 and later, TypedDict has been added to the typing module.
supabase-py/supabase/types.py
Lines 1 to 8 in e9feb48
The README says
Install the package (for Python > 3.7):
, but I think it actually supports Python >= 3.9.supabase-py/README.md
Line 39 in e9feb48
supabase-py/.github/workflows/ci.yml
Line 21 in e9feb48
Proposal
It can be refactored as follows
Here, instead of specifying each field as NotRequired, all fields are treated as optional with total=False. This makes the code simpler and more readable. reference
If it's convenient for you, I would be happy to help you.
The text was updated successfully, but these errors were encountered: