• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-py
98%

Build:
DEFAULT BRANCH: main
Repo Added 28 Dec 2024 01:12AM UTC
Token JuSmmeg9ANi5aZSwCE4DoVxkzQ5BwuW31 regen
Build 1786 Last
Files 153
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • auth/add-network-error-codes
  • auth/fix-list-factors-payload-format
  • auth/fix-mypy-errors
  • auth/fix_with_config
  • auth/more-linting-rules
  • auth/split-admin-client
  • auth/sync-async-refactor
  • auth/third-party-auth
  • change-conventional-commits
  • chore-review-actions
  • chore/add-coderabbit-config
  • chore/align-outdated-tooling
  • chore/bump-realtime
  • chore/bump-sdk-workflows-v1.3.0
  • chore/ci-python-3.15
  • chore/codeowners-sdk-lead
  • chore/codeowners-spydon
  • chore/coderabbit-v2
  • chore/drop-python-3.10
  • chore/drop-python-3.9-3.10
  • chore/format-unformatted-files
  • chore/functions-auth-token
  • chore/make-release-please-work
  • chore/merge-main-into-v3
  • chore/pep585-annotations
  • chore/pin-packages
  • chore/refresh-lockfiles
  • chore/remove-comment-in-json
  • chore/replace-mypy-with-pyrefly
  • chore/type-ignore-codes
  • chore/unify-ruff-config
  • chore/update-actions
  • chore/update-supabase-dependencies
  • chore/v2-release-branch
  • chore/v3-dependabot-alerts
  • chore/v3-dependency-floors
  • chore/v3-sdk-compliance
  • ci-include-3.14
  • ci/add-package-to-ci-matrix
  • ci/bump-sdk-workflows-v1.1.1
  • ci/cancel-superseded-runs
  • ci/cancel-superseded-runs-v3
  • ci/capability-matrix-v1.13.0
  • ci/dont-fail-on-coveralls-error
  • ci/generate-github-token
  • ci/optimize-pipeline
  • ci/pin-sdk-workflows-v1.0.0
  • ci/python-3.15
  • ci/reject-external-main-prs
  • ci/rerun-on-ci-changes
  • ci/retry-infra-start
  • ci/retry-infra-start-v3
  • ci/ruff-lint-job
  • ci/sdk-compliance-pr-write-permission
  • ci/sdk-workflows-v1.4.0
  • ci/sync-compliance-caller
  • claude/admiring-lamarr-2d3bb3
  • claude/admiring-ramanujan-442490
  • claude/agent-friendly-repo-setup-941fe9
  • claude/auth-userdoesntexist-jwt-exception-104669
  • claude/beautiful-aryabhata-3a0b8f
  • claude/beautiful-bouman-d7a503
  • claude/blissful-benz-3c95d1
  • claude/drift-sync-sdk-compliance-python-701d36
  • claude/flaky-test-fix-680219
  • claude/funny-lovelace-39d8cc
  • claude/remove-oli-silentworks-mentions-7ba554
  • claude/supabase-py-ci-not-running-d37497
  • claude/v3-backward-compatible-changes-203101
  • claude/wonderful-austin-c46a16
  • cm/add-service-compatibility
  • code-fix/max-affected-preferences
  • coderabbitai/docstrings/963b04d
  • codex/fix-issue-1271-postgrest-write-select
  • coverage
  • coveralls
  • dependabot/github_actions/main/abatilo/actions-poetry-4
  • dependabot/github_actions/main/actions/checkout-5
  • dependabot/github_actions/main/actions/checkout-6.0.3
  • dependabot/github_actions/main/actions/checkout-7.0.0
  • dependabot/github_actions/main/actions/checkout-7.0.1
  • dependabot/github_actions/main/actions/create-github-app-token-2.2.2
  • dependabot/github_actions/main/actions/create-github-app-token-3.0.0
  • dependabot/github_actions/main/actions/create-github-app-token-3.1.1
  • dependabot/github_actions/main/actions/create-github-app-token-3.2.0
  • dependabot/github_actions/main/actions/create-github-app-token-3.3.0
  • dependabot/github_actions/main/actions/stale-10
  • dependabot/github_actions/main/actions/stale-10.3.0
  • dependabot/github_actions/main/actions/stale-10.4.0
  • dependabot/github_actions/main/actions/stale-11.0.0
  • dependabot/github_actions/main/astral-sh/setup-uv-10.0.1
  • dependabot/github_actions/main/astral-sh/setup-uv-10.1.0
  • dependabot/github_actions/main/astral-sh/setup-uv-10.2.0
  • dependabot/github_actions/main/astral-sh/setup-uv-10.3.0
  • dependabot/github_actions/main/astral-sh/setup-uv-10.3.2
  • dependabot/github_actions/main/astral-sh/setup-uv-10.3.3
  • dependabot/github_actions/main/astral-sh/setup-uv-7
  • dependabot/github_actions/main/astral-sh/setup-uv-8.0.0
  • dependabot/github_actions/main/astral-sh/setup-uv-8.1.0
  • dependabot/github_actions/main/astral-sh/setup-uv-8.2.0
  • dependabot/github_actions/main/astral-sh/setup-uv-8.3.0
  • dependabot/github_actions/main/astral-sh/setup-uv-8.3.1
  • dependabot/github_actions/main/astral-sh/setup-uv-8.3.2
  • dependabot/github_actions/main/astral-sh/setup-uv-9.0.0
  • dependabot/github_actions/main/coverallsapp/github-action-2.3.8
  • dependabot/github_actions/main/googleapis/release-please-action-4.4.1
  • dependabot/github_actions/main/googleapis/release-please-action-5.0.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/sync-sdk-compliance.yml-982f77c3c993fb8ca4b7d2b0fa74e4278316ebf0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.14.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.15.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.16.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.17.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.18.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.19.0
  • dependabot/github_actions/main/supabase/sdk/dot-github/workflows/validate-sdk-compliance-python.yml-1.2.0
  • dependabot/github_actions/main/supabase/setup-cli-2.0.0
  • dependabot/github_actions/main/supabase/setup-cli-2.0.1
  • dependabot/github_actions/main/supabase/setup-cli-2.1.1
  • dependabot/github_actions/main/supabase/setup-cli-3.0.0
  • dependabot/github_actions/main/supabase/setup-cli-3.0.1
  • dependabot/github_actions/main/supabase/setup-cli-3.1.0
  • dependabot/github_actions/main/supabase/setup-cli-3.2.0
  • dependabot/pip/main/black-25.1.0
  • dependabot/pip/main/commitizen-4.1.1
  • dependabot/pip/main/commitizen-4.2.0
  • dependabot/pip/main/commitizen-4.2.2
  • dependabot/pip/main/commitizen-4.3.0
  • dependabot/pip/main/commitizen-4.4.1
  • dependabot/pip/main/commitizen-4.5.0
  • dependabot/pip/main/commitizen-4.5.1
  • dependabot/pip/main/commitizen-4.6.0
  • dependabot/pip/main/commitizen-4.6.2
  • dependabot/pip/main/commitizen-4.6.3
  • dependabot/pip/main/commitizen-4.7.0
  • dependabot/pip/main/commitizen-4.7.1
  • dependabot/pip/main/commitizen-4.7.2
  • dependabot/pip/main/commitizen-4.8.0
  • dependabot/pip/main/commitizen-4.8.2
  • dependabot/pip/main/commitizen-4.8.3
  • dependabot/pip/main/flake8-7.1.2
  • dependabot/pip/main/flake8-7.2.0
  • dependabot/pip/main/flake8-7.3.0
  • dependabot/pip/main/gotrue-2.11.1
  • dependabot/pip/main/gotrue-2.11.2
  • dependabot/pip/main/gotrue-2.11.3
  • dependabot/pip/main/gotrue-2.11.4
  • dependabot/pip/main/gotrue-2.12.0
  • dependabot/pip/main/gotrue-2.12.2
  • dependabot/pip/main/gotrue-2.12.3
  • dependabot/pip/main/gotrue-2.12.4
  • dependabot/pip/main/httpx-0.28.1
  • dependabot/pip/main/isort-6.0.0
  • dependabot/pip/main/isort-6.0.1
  • dependabot/pip/main/postgrest-0.19.1
  • dependabot/pip/main/postgrest-0.19.3
  • dependabot/pip/main/postgrest-1.0.0
  • dependabot/pip/main/postgrest-1.0.1
  • dependabot/pip/main/postgrest-1.0.2
  • dependabot/pip/main/postgrest-1.1.0
  • dependabot/pip/main/postgrest-1.1.1
  • dependabot/pip/main/pre-commit-4.1.0
  • dependabot/pip/main/pre-commit-4.2.0
  • dependabot/pip/main/pytest-8.3.5
  • dependabot/pip/main/pytest-8.4.1
  • dependabot/pip/main/pytest-asyncio-0.25.1
  • dependabot/pip/main/pytest-asyncio-0.25.2
  • dependabot/pip/main/pytest-asyncio-0.25.3
  • dependabot/pip/main/pytest-asyncio-0.26.0
  • dependabot/pip/main/pytest-asyncio-1.0.0
  • dependabot/pip/main/pytest-asyncio-1.1.0
  • dependabot/pip/main/pytest-cov-6.1.0
  • dependabot/pip/main/pytest-cov-6.1.1
  • dependabot/pip/main/pytest-cov-6.2.0
  • dependabot/pip/main/pytest-cov-6.2.1
  • dependabot/pip/main/python-dotenv-1.1.0
  • dependabot/pip/main/python-dotenv-1.1.1
  • dependabot/pip/main/realtime-2.1.0
  • dependabot/pip/main/realtime-2.2.0
  • dependabot/pip/main/realtime-2.3.0
  • dependabot/pip/main/realtime-2.4.0
  • dependabot/pip/main/realtime-2.4.1
  • dependabot/pip/main/realtime-2.4.2
  • dependabot/pip/main/realtime-2.4.3
  • dependabot/pip/main/realtime-2.5.2
  • dependabot/pip/main/realtime-2.5.3
  • dependabot/pip/main/realtime-2.6.0
  • dependabot/pip/main/realtime-2.7.0
  • dependabot/pip/main/ruff-0.12.2
  • dependabot/pip/main/ruff-0.12.3
  • dependabot/pip/main/ruff-0.12.4
  • dependabot/pip/main/ruff-0.12.5
  • dependabot/pip/main/ruff-0.12.7
  • dependabot/pip/main/storage3-0.11.0
  • dependabot/pip/main/storage3-0.11.1
  • dependabot/pip/main/storage3-0.11.3
  • dependabot/pip/main/storage3-0.12.0
  • dependabot/pip/main/storage3-0.12.2
  • dependabot/pip/main/supafunc-0.10.0
  • dependabot/pip/main/supafunc-0.10.1
  • dependabot/pip/main/supafunc-0.10.2
  • dependabot/pip/main/supafunc-0.9.2
  • dependabot/pip/main/supafunc-0.9.3
  • dependabot/pip/main/supafunc-0.9.4
  • dependabot/pip/pip-75f0befae6
  • dependabot/pip/pip-e49d2f513e
  • dependabot/uv/uv-0462f47e4d
  • dependabot/uv/uv-064fca2aff
  • dependabot/uv/uv-0bcf21a12e
  • dependabot/uv/uv-16d11b4d57
  • dependabot/uv/uv-5b18fe017b
  • dependabot/uv/uv-a11763021f
  • dependabot/uv/uv-a25b3f5e8f
  • dependabot/uv/uv-a3c93ac3b8
  • dependabot/uv/uv-ac29afaf97
  • dependabot/uv/uv-b7f5c28099
  • dependabot/uv/uv-d1091effbf
  • dependabot/uv/uv-d665ee01e3
  • dependabot/uv/uv-d948ee1720
  • dependabot/uv/uv-f8532979aa
  • deprecate-python-3-9
  • docs/contribution-policy
  • docs/port-v2-support-policy
  • docs/support-policy
  • drop-pre-commit
  • editable-nix-setup
  • feat/add-force-function-region-query-param
  • feat/auth-oauth-client-admin-endpoints
  • feat/broadcast-replay-support
  • feat/port-realtime-v2-serializer
  • feat/postgrest-strip-nulls
  • feat/realtime-explicit-rest-call
  • feat/sdk-compliance
  • feat/storage-vector-buckets
  • feat/support-new-realtime-features
  • ferhat/cache-control
  • fix-1616-not-or
  • fix-bump-storage
  • fix-ci-action
  • fix-head-error-response
  • fix-release-please
  • fix-release-please-with-workspaces
  • fix-storage-url-trailing-slash-1360
  • fix-storage3-error-parsing
  • fix-url-mutation
  • fix/1893-analytics-errors
  • fix/auth-admin-headers-alias
  • fix/auth-empty-oauth-client-list
  • fix/auth-events-keep-session-token-ci-probe
  • fix/auth-get-claims-malformed-jwt
  • fix/auth-inspect-iscoroutinefunction
  • fix/auth-legacy-weak-password
  • fix/auth-link-identity-copy-query-params
  • fix/auth-listener-unsubscribe
  • fix/auth-oauth-query-params-mutation
  • fix/auth-optional-oauth-client-name
  • fix/auth-pkce-code-challenge
  • fix/auth-pkce-recovery-event
  • fix/auth-preserve-5xx-error-message
  • fix/auth-preserve-mfa-phone
  • fix/auth-recover-keeps-refreshed-session
  • fix/auth-refresh-self-cancellation
  • fix/auth-refresh-tick-double-request
  • fix/auth-retry-overflow
  • fix/auth-secure-email-confirmation
  • fix/auth-set-session-signed-in
  • fix/auth-sign-in-keep-session
  • fix/auth-sign-out-scope
  • fix/auth-trailing-slash
  • fix/auth-transport-errors-retryable
  • fix/auth-user-missing-fields
  • fix/auth-verify-otp-keep-session
  • fix/auth-verify-otp-recovery-event
  • fix/capability-matrix-symbols
  • fix/ci-trigger-release-correctly
  • fix/client-options-replace-false
  • fix/client-options-replace-timeouts
  • fix/do-not-parse-relay-error-as-json
  • fix/docs-shutdown-note
  • fix/fix-list-v2
  • fix/functions-apikey-redirect-leak
  • fix/functions-create-client-verify-param
  • fix/functions-invoke-header-leak
  • fix/functions-invoke-query-string
  • fix/functions-relay-error-header
  • fix/generated-typeddict-json-serialization
  • fix/httpx-client-base-url-isolation
  • fix/keep-background-task-references
  • fix/mutable-reference-headers-1095
  • fix/pin-dependencies-versions-in-supabase
  • fix/postgres-changes-event-field
  • fix/postgrest-api-error-optional-fields
  • fix/postgrest-array-filter-non-string
  • fix/postgrest-bearer-auth-switch
  • fix/postgrest-comparison-filter-values
  • fix/postgrest-default-timeout
  • fix/postgrest-empty-bulk-columns
  • fix/postgrest-head-retry-v2
  • fix/postgrest-http-client-auth
  • fix/postgrest-in-filter-escaping
  • fix/postgrest-in-null-serialization
  • fix/postgrest-quote-bulk-columns
  • fix/postgrest-raise-invalid-base-url
  • fix/postgrest-rpc-get-array-args
  • fix/postgrest-schema-keeps-http-client
  • fix/postgrest-text-search-chaining
  • fix/postgrest-text-search-negation
  • fix/postgrest-unknown-response-count
  • fix/preserve-functions-timeout
  • fix/realtime-backoff-cap
  • fix/realtime-broadcast-wildcard
  • fix/realtime-channel-timeouts
  • fix/realtime-concurrent-connect
  • fix/realtime-connection-params
  • fix/realtime-handle-message-keyerror
  • fix/realtime-late-leave-keeps-replacement
  • fix/realtime-late-timeout-callback
  • fix/realtime-opening-timeout
  • fix/realtime-postgres-change-error-arrays
  • fix/realtime-postgres-changes-default-schema
  • fix/realtime-presence-leaves
  • fix/realtime-reconnect-channel-error
  • fix/realtime-reconnect-on-normal-close
  • fix/realtime-rejoin-backoff-cap
  • fix/realtime-resend-timeout
  • fix/realtime-resubscribe-after-presence-callback
  • fix/realtime-reuse-channel-for-topic
  • fix/realtime-set-auth-join-payload
  • fix/realtime-subscription-status
  • fix/release-please-prerelease-versions
  • fix/remove-channel-bug
  • fix/replace-preserves-timeouts
  • fix/retry-network-errors
  • fix/rpc-array-literal-escaping
  • fix/rpc-get-array-elements-unquoted
  • fix/rpc-maybe-single
  • fix/sdk-compliance-invalid-feature-ids
  • fix/sdk-compliance-workflow-ref
  • fix/storage-analytics-list-sort
  • fix/storage-close-upload-handle-on-error
  • fix/storage-exists-uses-info
  • fix/storage-iceberg-fileio
  • fix/storage-list-partial-sortby
  • fix/storage-list-v2-null-metadata
  • fix/storage-object-key-parsing
  • fix/storage-object-key-parsing-main
  • fix/storage-path-first-segment-colon
  • fix/storage-per-call-headers
  • fix/storage-strict-percent-escapes
  • fix/storage-vector-index-creation-time
  • fix/storage-vector-metadata
  • fix/storage-vector-query-topk
  • fix/storage-vectors-list-indexes-pagination
  • fix/storage3-print-to-warnings
  • fix/v3-public-api-compliance
  • fix/v3-storage-api-error-parsing
  • functions/handle-case-insensitive-headers
  • functions/respect-content-type-in-invoke
  • grdsdev-patch-1
  • guilherme/clibs-210-supabase-py-does-not-handle-the-new-api-keys-secret-keys
  • guilherme/clibs-218-realtime-py-add-presence-enabled-flag-on-join-payload
  • guilherme/clibs-380-postgrest-py-implement-maxaffected-method
  • guilherme/sdk-1439-capability-id-renames
  • guilherme/use-reusable-ci
  • guilhermesouza/sdk-1526-check-join_ref-handling-in-python-realtime-sdk
  • guilhermesouza/sdk-1526-join-ref-v3
  • guilhermesouza/sdk-1679-realtime-api-key-and-user-jwts-are-written-to-debug-logs
  • guilhermesouza/sdk-1680-auth-get_claims-verifies-only-signature-and-exp
  • iat/add-x-provider
  • improve-ci-workflows
  • include-storage-into-monorepo
  • lukasklingsbo/1996-storage-upsert-bool
  • lukasklingsbo/auth-session-and-refresh-core
  • lukasklingsbo/auth-session-validator-no-mutation
  • lukasklingsbo/capability-matrix-2.3.0
  • lukasklingsbo/remove-functions-error-to-dict
  • lukasklingsbo/sdk-1099-add-securitymd
  • lukasklingsbo/sdk-1325-functions-api-key-bearer
  • lukasklingsbo/sdk-1392-concurrent-pkce-flows
  • lukasklingsbo/sdk-1674-realtime-remove_all_channels-leaves-selfchannels-populated
  • lukasklingsbo/sdk-1688-ci-check-generated-sync-code
  • lukasklingsbo/sdk-1693-supabase-clientpy-duplicates-__init__py-and-has-already
  • lukasklingsbo/sdk-1694-authpostgrest-pydantic-v1-compat-layer-is-dead-and-the
  • lukasklingsbo/sdk-1701-auth-timer-milliseconds
  • lukasklingsbo/sdk-1703-postgrest-bulk-insert-columns-query
  • lukasklingsbo/sdk-1706-postgrest-csv-response
  • lukasklingsbo/sdk-1785-feature-request-add-pull-token
  • lukasklingsbo/sdk-217-asyncrealtimechannelsubscribe-returns-without-waiting-for-an
  • lukasklingsbo/sdk-2640-supabase-py-finish-pr-1848-json-encode-dictionary-rpc
  • lukasklingsbo/sdk-2641-supabase-py-finish-pr-1604-client-level-postgrest-retry
  • lukasklingsbo/sdk-2642-supabase-py-migrate-storage-and-realtime-test-infra-config
  • lukasklingsbo/sdk-2649-auth-initialize_from_storage-deletes-an-expired-session-when
  • lukasklingsbo/sdk-2652-postgrest-fallback-error
  • lukasklingsbo/sdk-2658-v3-add-a-cheap-per-request-client
  • lukasklingsbo/sdk-2666-supabase-py-improve-test-coverage-and-flag-bugs-found
  • lukasklingsbo/sdk-2667-storage-storage3create_client-always-emits-the-timeout
  • lukasklingsbo/sdk-2668-storage-metadataconfiguration-rejects-its-python-field-name
  • lukasklingsbo/sdk-2669-auth-set_session-raises-indexerror-for-an-access-token-that
  • lukasklingsbo/sdk-2670-auth-initialize_from_url-still-ignores-implicit-grant-tokens
  • lukasklingsbo/sdk-2671-auth-codeexchangeparams-requires-code_verifier-although-it
  • lukasklingsbo/sdk-2672-realtime-join-reply-without-matching-postgres_changes
  • lukasklingsbo/sdk-2673-realtime-public-channeljoin-double-nests-the-config-and
  • lukasklingsbo/sdk-2674-supabase-create_client-raises-typeerror-for-a-non-string-url
  • lukasklingsbo/sdk-2675-postgrest-strip_nullscsv-silently-drops-strip_nulls-while
  • lukasklingsbo/sdk-2676-realtime-remove-unused-asyncrealtimeclient_leave_open_topic
  • lukasklingsbo/sdk-2684-supabase-py-remove-dead-code-found-by-vulture
  • lukasklingsbo/sdk-2687-surface-websocket-send-failures
  • lukasklingsbo/sdk-2700-functions-postgrest-httpx-import
  • lukasklingsbo/sdk-2703-realtime-replace-the-remaining-typeddict-types-with-models
  • lukasklingsbo/sdk-2704-handle-http-io-metadata
  • lukasklingsbo/sdk-2706-utils-tests-ci-readme
  • lukasklingsbo/sdk-2707-remove-v2-leftovers
  • lukasklingsbo/sdk-2710-realtime-single-socket
  • lukasklingsbo/sdk-2715-supabase-add-close-and-aclose-with
  • lukasklingsbo/sdk-2718-shared-retry-policy
  • lukasklingsbo/sdk-2719-request-timeouts
  • lukasklingsbo/sdk-2720-root-exception-and-transport-errors
  • lukasklingsbo/sdk-2724-api-spell-out-abbreviations-in-public-names
  • lukasklingsbo/sdk-2725-exports-add-all-to-every-package
  • lukasklingsbo/sdk-2727-auth-options-storage-key
  • lukasklingsbo/sdk-2727-auth-persist_session-and-storage_key
  • lukasklingsbo/sdk-2748-realtime-push-the-access-token-on
  • lukasklingsbo/sdk-2752-realtime-move-to-the-v2-serializer
  • lukasklingsbo/sdk-2757-remove-unused-imports-and-variables
  • lukasklingsbo/sdk-2759-postgrest-require-a-filter-on-update
  • lukasklingsbo/sdk-2760-postgrest-serialize-datetime-filter
  • lukasklingsbo/sdk-2761-postgrest-reject-filters-after-insert
  • lukasklingsbo/sdk-2763-empty-bulk-insert-columns
  • lukasklingsbo/sdk-2784-update-readmes-to-v3
  • lukasklingsbo/sdk-2795-auth-sync-test-generator
  • lukasklingsbo/sdk-2797-retry-delays
  • lukasklingsbo/sdk-2798-realtime-heartbeat-interval
  • lukasklingsbo/sdk-2811-drop-apikey-on-cross-host-redirects
  • lukasklingsbo/sdk-2812-keep-session-token-on-every-auth-event
  • lukasklingsbo/sdk-2813-pyjwt-floor-and-pyiceberg-pyarrow
  • lukasklingsbo/sdk-2814-realtime-access-tokens-are-written-to-debug-logs
  • lukasklingsbo/sdk-2815-httpx-auth-preserve-jwt
  • lukasklingsbo/sdk-2816-postgrest-escape-bulk-column-names
  • lukasklingsbo/sdk-2824-postgrest-port-small-v2-request-fixes
  • lukasklingsbo/sdk-2826-postgrest-json-loads
  • lukasklingsbo/sdk-2827-realtime-port-the-v2-postgres_changes
  • lukasklingsbo/sdk-2848-supabase-py-v3-remove-the-remaining-hand-written-async-and
  • lukasklingsbo/sdk-2853-replace-last-option-typeddicts
  • lukasklingsbo/sdk-2854-freeze-option-dataclasses
  • lukasklingsbo/sdk-2855-python-3-12
  • lukasklingsbo/sdk-2910-lint-restore-the-shared-ruff-config
  • lukasklingsbo/sdk-2910-more-lint-rules
  • lukasklingsbo/sdk-2920-supabase-replace-clientoptions-with
  • lukasklingsbo/sdk-2945-postgrest-immutable-request-builders
  • lukasklingsbo/sdk-2948-remove-the-outdated-sphinx-docs
  • lukasklingsbo/sdk-2972-postgrest-type-the-string-keyed
  • lukasklingsbo/sdk-2973-run-postgrest-and-auth-tests-on-supabase-cli
  • lukasklingsbo/sdk-2974-remove-dead-files-left-over-from-the
  • lukasklingsbo/sdk-2975-postgrest-rpccsv-parses-the-csv-body
  • lukasklingsbo/sdk-2977-realtime-rename-realtimeclientclose
  • lukasklingsbo/sdk-2984-featpostgrest-add-column-expressions
  • lukasklingsbo/sdk-2985-remaining-filter-operators-and-orderings
  • lukasklingsbo/sdk-2986-table-request-and-executor
  • lukasklingsbo/sdk-2987-typed-query-builder
  • lukasklingsbo/sdk-831-insert-does-not-expect-typeddict-provided-by-generated-types
  • lukasklingsbo/storage-remove-unused-json-adapter
  • lukasklingsbo/test-hygiene-pyiceberg-incremental
  • misc-small-changes
  • monorepo-include-auth
  • monorepo-include-functions-py
  • monorepo-include-postgrest
  • monorepo-include-realtime
  • mypy-functions
  • mypy-postgrest
  • mypy-storage
  • patch-1
  • perf/speed-up-postgrest-json
  • postgrest/add-uuid-datetime-to-json
  • postgrest/comment-out-ssl-error
  • postgrest/dont-check-for-message-in-payload
  • postgrest/fix-execute-type
  • postgrest/fix-maybe-single
  • postgrest/retry-on-cloudflare-errors
  • postgrest/skip-second-validation
  • postgrest/sync-async-refactor
  • realtime/cancel-timeout
  • realtime/change-debug-levels
  • realtime/fix-reconnect
  • release-please--branches--chore/make-release-please-work
  • release-please--branches--main
  • release-please--branches--v2
  • remove-deprecated
  • remove-trailing-comma
  • silentwork/fix-schema-method
  • silentworks/add-verify-flag
  • silentworks/fix-custom-headers
  • silentworks/fix-python-version-in-ci
  • silentworks/httpx-dependency-injection
  • silentworks/remove-type-arguments
  • silentworks/ruff
  • silentworks/storage-signed-upload-url
  • storage/add-id-field-to-upload-response
  • storage/catch-bad-responses
  • storage/download-add-query-parameters
  • storage/fix-create-signed-url
  • storage/fix-create-signed-urls-types
  • storage/fix-upload-path-type
  • storage/fix-url-composition
  • storage/list-v2
  • storage/pyiceberg
  • storage/pyiceberg-optional
  • storage/sync-async-refactor
  • supabase/mypy-in-tests
  • supabase/mypy-supabase
  • supabase/use-url-builder
  • switch-to-supabase-auth-and-functions
  • switch-to-uv
  • sync-async-refactor
  • test/client-service-url-coverage
  • test/postgrest-shared-credentials
  • test/realtime-ephemeral-ports
  • unify-changelog
  • update-github-templates
  • utils/http-client-agnostic
  • v2
  • v3
  • v3-realtime-rewrite
  • v3-sync/01-root
  • v3-sync/02-fixes
  • v3-sync/03-supabase
  • v3-sync/04-functions
  • v3-sync/05-auth
  • v3-sync/06-postgrest
  • v3-sync/07-storage
  • v3-sync/08-realtime
  • ws-linting-rules

13 Nov 2026 04:44PM UTC coverage: 98.001% (+0.03%) from 97.97%
43465840094

push

github

web-flow
fix(postgrest)!: return csv() results as a TextAPIResponse (#2051)

## What

`csv()` results now have their own response type, `TextAPIResponse`,
instead of being forced into `APIResponse.data` (typed as a list of
rows) or returned as a bare `str`.

- `TextAPIResponse` holds the CSV body as a `str` in `data` and the row
count in `count` when the query asked for one. It is exported from
`postgrest`.
- `TextRequestBuilder.execute()` returns `TextAPIResponse`. Before, it
returned a bare `str` and dropped the count from `Content-Range`.
- `rpc(...).csv()` returns the same `TextRequestBuilder` as `csv()` on a
table. Since #2049 it returned the text in `RPCResponse.data`, typed as
`JSON`. That special case in `RPCFilterRequestBuilder.execute()` is
removed, and the `RPCResponse` docstring and `MIGRATION.md` now point to
`TextAPIResponse`.
- `csv()` moved from `BaseRPCRequestBuilder` to
`RPCFilterRequestBuilder`, and `sdk-compliance.yaml` now lists the new
symbols.
- A CSV body that is not valid UTF-8 raises `APIError` with the
response, like an invalid JSON body does.
- Two `rpc()` overloads now return the builder `rpc()` actually returns.
`count=..., head=True` returns `RPCCountRequestBuilder` (it claimed
`RPCFilterRequestBuilder`), and `count=..., get=False` returns
`RPCFilterRequestBuilder` (it claimed a union with
`RPCCountRequestBuilder`). Without this, `.csv()` after those calls
would have been accepted by the type checker and failed at runtime, or
rejected although it works.

## Breaking changes

- `.csv().execute()` returns `TextAPIResponse` instead of `str`. Read
the text from `response.data`.
- Filters, modifiers and `strip_nulls()` can no longer follow
`rpc(...).csv()`. They go before `csv()`, as they already did on a
table. `strip_nulls()` after `csv()` already raised `ValueError`.

`MIGRATION.md` has a new section with a type-checked example.

## Tests

- New `tests/test_text_response.py` covers table `csv()` with a count,
sync and async RPC `cs... (continued)

15888 of 16212 relevant lines covered (98.0%)

5.05 hits per line

Relevant lines Covered
Build:
Build:
16212 RELEVANT LINES 15888 COVERED LINES
5.05 HITS PER LINE
Source Files on main
  • Tree
  • List 153
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
43465840094 main fix(postgrest)!: return csv() results as a TextAPIResponse (#2051) ## What `csv()` results now have their own response type, `TextAPIResponse`, instead of being forced into `APIResponse.data` (typed as a list of rows) or returned as a bare `str`... push 13 Nov 2026 04:45PM UTC web-flow github
98.0
43462995298 main fix(realtime): port the v2 postgres_changes fixes (#2052) Ports three `postgres_changes` fixes from v2 to v3. Fixes SDK-2827. ## Default schema `PostgresChangesBinding.schema` and `RealtimeChannelOptions.postgres_changes(schema=...)` now defaul... push 13 Nov 2026 04:28PM UTC web-flow github
97.97
43462763699 main fix(postgrest): port small v2 request fixes (#2050) ## Why Four small postgrest request bugs that v2 already fixed, or that turned up while auditing, are still in v3. ## What changed - **Unknown count.** With `count="planned"` or `"estimated"`... push 13 Nov 2026 04:26PM UTC web-flow github
97.97
43459907073 main fix(postgrest)!: parse responses with json.loads and return scalar RPC results (#2049) ## What Postgrest responses are now parsed with `json.loads` plus a shape check instead of a pydantic `TypeAdapter`, and `rpc().execute()` returns whatever JS... push 13 Nov 2026 04:10PM UTC web-flow github
97.95
43437175470 main fix(postgrest): omit the columns parameter when a bulk insert has no keys (#2048) ## Summary `insert([])`, `upsert([])` and bulk payloads whose rows have no keys (`[{}]`) sent `?columns=` with an empty value, because `pre_insert` and `pre_upsert... push 13 Nov 2026 01:50PM UTC web-flow github
97.93
43434015101 main fix(postgrest): escape bulk column names and reject None in in_() (#2046) Ports the bulk column name fix from v2 (#1948) to v3, and makes `in_()` reject `None`. ## Changes - **Bulk column names are escaped.** `_unique_columns` built the `column... push 13 Nov 2026 01:29PM UTC web-flow github
97.93
43431591727 main fix(postgrest)!: send datetime filter values as iso 8601 with an offset (#2047) ## Summary Filter values went through `str()`, so a `datetime` was sent as `2024-01-01 12:00:00`, with a space and, for a naive value, no offset. PostgREST then read... push 13 Nov 2026 01:12PM UTC web-flow github
97.92
43431449431 main fix(postgrest): keep bulk insert columns in first-seen order (#2045) ## Summary `_unique_columns` collected the keys of every row into a `set`, so the `columns` query parameter sent by bulk `insert` and `upsert` depended on string hashing, which... push 13 Nov 2026 01:11PM UTC web-flow github
97.92
43390254367 main feat(postgrest): add the table definition, the request value and the executor (#2043) Step 3 of [SDK-2765](https://linear.app/supabase/issue/SDK-2765) ([SDK-2986](https://linear.app/supabase/issue/SDK-2986)): the table definition, the request val... push 13 Nov 2026 08:03AM UTC web-flow github
97.92
43237516251 main feat(postgrest): add the remaining filter operators and orderings (#2042) Step 2 of [SDK-2765](https://linear.app/supabase/issue/SDK-2765) ([SDK-2985](https://linear.app/supabase/issue/SDK-2985)): the operators that step 1 left out and the orderi... push 12 Nov 2026 02:28PM UTC web-flow github
97.82
See All Builds (1773)

Badge your Repo: supabase-py

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc